cURL
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" } '
JWT token for admin console authentication
The custom domain
"api.customer.com"
Type of domain (API, ADMIN, or BOTH)
API
ADMIN
WIDGET
Domain added, returns DNS records to configure