Skip to main content
POST
Create a domain

Authorizations

Authorization
string
header
required

Workspace API key, prefixed rqk_.

Path Parameters

slug
string
required

Workspace slug.

Body

application/json
slug
string
required

The domain name, e.g. go.example.com.

target
string

Optional root redirect destination.

Response

Created

id
string
slug
string

The domain name itself, e.g. go.example.com.

verified
boolean
primary
boolean
target
string

Root redirect destination.

workspaceId
string
lastChecked
string<date-time>
createdAt
string<date-time>