Skip to main content
POST
Add a custom domain
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Body

application/json
hostname
string
required

Hostname to add.

Example:

"forms.example.com"

Response

Created - Custom domain added successfully

custom_domain
object