Skip to main content
GET
List Application Domains
Returns every custom domain of the application, including the automatic www (or root) companion that Add Application Domain creates next to the domain you add. The list is empty when the application has none. Requires the apps:read scope when called with an API key. For how domains work, see the custom domains guide.
string
required
The application ID.
string
If the application belongs to a workspace, the workspace’s ID. Required for workspace members acting on an application they don’t own.

Response

APIApplicationDomain[]
The custom domains of the application, oldest first.
status and ssl_status are refreshed in the background and every time you call Domain DNS Records, so a domain can show pending for a few minutes after its records resolve. A domain that never becomes active is removed automatically after 14 days; delete its DNS records at your provider afterwards.

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • VALIDATION_ERROR: The path parameter or the query failed validation (400). The response also carries message and path.
  • UNAUTHORIZED: The request is not authenticated (401).
  • USER_NOT_FOUND: The authenticated user could not be resolved (401).
  • ACCESS_DENIED: The user does not have permission to read the application (403).
  • API_KEY_SCOPE_DENIED: The API key does not have the apps:read scope (403).
  • APP_NOT_FOUND: The specified application does not exist (404).
  • RATE_LIMIT_EXCEEDED: The route’s budget was reached (429).
  • INTERNAL_SERVER_ERROR: Unexpected failure (500).
This route has its own budget of 30 requests per minute. See Rate Limiting.