List Domains
List custom testing domains and return the account's sandbox and MX host names.
List custom testing domains and return the account's sandbox and MX host names.
Scope: email_testing.domains.read
Query Parameters
limitintegeroptionalHow many results to return per page. Defaults to 50, and at most 200 are returned.
cursorstringoptionalWhere to continue from. Pass the next_cursor value from the previous page; leave it out to start at the first page. An empty next_cursor means there are no more results.
Sample Request
Request
curl "https://api.maileroo.com/v1/email-testing/domains" \
-H "Authorization: Bearer roo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Sample Response
The response is wrapped in a data object.
Response
{
"data": {
"domains": [],
"sandbox_domain": "sandbox.maileroo.net",
"mx_hostname": "mx.sandbox.maileroo.io",
"next_cursor": ""
}
}Errors
400 Bad Request— invalid pagination or query parameters.