Connect your domain (first time)

Assigns a custom domain to a site that is still on its preview URL. Returns the DNS records you need to add. Not available on staging sites. After the first domain is set, use PUT to change it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the Site you are interacting with

Body Params

Initial main domain information.

string

Site's domain name

boolean
Defaults to false

When set, DNS records for the live domain will be returned but the WordPress install will stay on the CDN URL (WordPress can only have one domain). This is useful for testing the site before going live while setting TXT records for SSL and Hostname validation

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json