Domains
List domains for an environment
Returns a paginated list of inbound-email domains in the current environment. Supports cursor pagination and a name contains filter.
get/v1/domains
Query parameters
afterstring
Cursor for pagination indicating the starting point after which to fetch results.
beforestring
Cursor for pagination indicating the ending point before which to fetch results.
limitnumber
Limit the number of items to return
orderDirection'ASC' | 'DESC'
Direction of sorting
orderBystring
Field to order by
includeCursorboolean
Include cursor item in response
namestring
Domain name to filter results by.
Response
OK
Example response
{
"data": [
{
"expectedDnsRecords": [
{
"type": "MX",
"name": "inbound",
"content": "inbound-smtp.us-east-1.amazonaws.com",
"ttl": "Auto",
"priority": 10
}
]
}
]
}