Set the custom widget domain

Requires a white-label agreement (403 whitelabel_required). The domain may be set before its DNS record exists; it must not resolve to a private or internal address (400 target_not_allowed). Setting a domain resets verification and adds https://<domain> to the allowed origins. Use DELETE to remove it.

put/api/v1/chatbots/{id}/custom-domain

Request

  • Base URL: https://smartwebchat.eu
  • URL: https://smartwebchat.eu/api/v1/chatbots/{id}/custom-domain
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

customDomainstring required

Response

customDomain and customDomainVerified (false until verified)

Changes

No recorded changes to this operation across all 1 revision of this API.