Skip to main content
POST
/
enterprise
/
domains
Add a custom domain
curl --request POST \
  --url https://api.engagefabric.com/enterprise/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "api.customer.com",
  "domainType": "API"
}
'

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