Skip to main content
POST
Add a custom domain

Authorizations

Authorization
string
header
required

JWT token for admin console authentication

Body

application/json
domain
string
required

The custom domain

Example:

"api.customer.com"

domainType
enum<string>
default:API

Type of domain (API, ADMIN, or BOTH)

Available options:
API,
ADMIN,
WIDGET

Response

Domain added, returns DNS records to configure