List domains (newest first)
GET
/api/v1/domains
const url = 'https://app.routeseam.com/api/v1/domains';const options = {method: 'GET', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.routeseam.com/api/v1/domains \ --header 'X-Api-Key: <X-Api-Key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
domains
required
Array<object>
object
id
required
integer
hostname
required
string
status
required
string
include_www
required
boolean
dns_verified_at
required
string | null format: date-time
tls_status
required
E.g. issued / failed
string | null
created_at
required
string format: date-time
dns
Present while status is not active — the record to add
object
type
string
name
string
value
ROUTESEAM_IP
string
Example
{ "domains": [ { "status": "pending_dns", "dns": { "type": "A", "name": "@" } } ]}Missing or invalid API key
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Example
{ "error": "Invalid API key", "errors": [], "validation_errors": {}}API access requires a paid plan; org suspended; or owner email unverified
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Examplegenerated
{ "error": "example", "errors": [ "example" ], "validation_errors": { "additionalProperty": [ "example" ] }}Over 300 requests/minute for this key
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Example
{ "error": "Rate limit exceeded", "errors": [], "validation_errors": {}}