Portal Domains

The portal_domain object

A custom domain that serves the account's customer portal (e.g. shop.acme.com).

After creation the domain starts in pending; publish the returned DNS records, then poll the verify action. Once DNS is correct the domain moves to securing while its TLS certificate is issued — it is not yet reachable over HTTPS during this window — and finally to verified once the certificate is live and the portal is served on the domain.

idstring

Portal domain ID.

objectstringenumValues:portal_domain

Resource type identifier.

domainstring

The fully-qualified domain name (e.g. shop.acme.com).

statusstringenumValues:pendingsecuringverified

Verification status.

  • pending domains await DNS configuration
  • securing domains have correct DNS and are waiting on TLS certificate issuance; the portal is not yet reachable over HTTPS
  • verified domains serve the portal over HTTPS
  • failed domains were rejected and cannot be used
dns_recordslistnullable

The DNS records the customer must publish for the domain to route and verify.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

Relative URL that fetches the next page of results.

null when the last page has been reached.

previous_page_urlstringnullable

Relative URL that fetches the previous page of results.

null while on the first page.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of dns_record

Resources in this page.

objectstringenumValues:dns_record

Resource type identifier.

typestringenumValues:CNAMEATXT

Record type.

namestring

Record name (host) to publish.

valuestring

Record value to publish.

reasonstringenumValues:routingownership

Why the record is needed.

Routing records point traffic at the portal's serving infrastructure; ownership records prove control of a domain that is claimed elsewhere.

verified_atstring (date-time)nullable

When the domain's DNS configuration was confirmed.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

Used by