Developer homeGuidesAPI ReferenceAll resourcesChangelog

Domains

Create a domain

POST /api/domains

Add a domain you own, then complete DNS verification. Adding a domain does not register or purchase it.

Path parameters

No path parameters.

Query parameters

No query parameters.

JSON request body

For this own-domain example, hostname is required. Use a domain you control; this does not purchase it.

Request fields

Field names detected from the handler; this list may be incomplete and does not indicate requiredness or types.

mode, subdomain, base, hostname, unicodeHostname

Recent requests

This page only. Credentials and responses are not saved.

TimeMethodStatus

Response codes

200 / 201
Read the resource or report; bulk requests can contain item errors.
400
Check IDs, JSON, dates and filters.
401
Check key expiry, revocation and membership.
402 / 403
Check plan, role and key scope.
404
Resource not found in the permitted workspace or domain.
429
Wait for Retry-After and reduce request frequency.

Language

Your key is sent only to this installation when you select Try it.

Response

Run a request to see its response.

Run from your terminal →