Skip to navigation

Add a domain

View as Markdown

Registers a domain. It cannot serve redirects until verified - fetch the DNS record from /verify-info, publish it, then call /verify.

Authentication

Authorizationstring

API key credential, sent as Key <base64(keyId:secret)>.

Request

Request body for server.CreateDomainPostObject
namestringRequired
The hostname that will serve redirects.

Response

Created
bodyobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error