List custom domains

GET {{baseUrl}}/services/:serviceId/custom-domains?cursor=<string>&limit=20&name=<string>,<string>&domainType=apex&verificationStatus=unverified&createdBefore=<dateTime>&createdAfter=<dateTime>

Request Params

KeyDatatypeRequiredDescription
cursorstringCursor to begin retrieving entries for this query
limitnumberMax number of items that can be returned
namestringFilter for the names of custom domain
domainTypestringFilter for apex or subdomains
verificationStatusstringFilter for verified or unverified custom domains
createdBeforestringFilter for custom domains created before a certain time (specified as an ISO 8601 timestamp)
createdAfterstringFilter for custom domains created after a certain time (specified as an ISO 8601 timestamp)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;customDomain&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;domainType&quot;:&quot;subdomain&quot;,&quot;publicSuffix&quot;:&quot;\u003cstring\u003e&quot;,&quot;redirectForName&quot;:&quot;\u003cstring\u003e&quot;,&quot;verificationStatus&quot;:&quot;unverified&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;server&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;}},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;},{&quot;customDomain&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;domainType&quot;:&quot;apex&quot;,&quot;publicSuffix&quot;:&quot;\u003cstring\u003e&quot;,&quot;redirectForName&quot;:&quot;\u003cstring\u003e&quot;,&quot;verificationStatus&quot;:&quot;verified&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;server&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;}},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;}]