Skip to main content
Use this endpoint to register a new domain name against your workspace. You supply the domain, the desired registration length, optional settings like auto-renew and WHOIS privacy, and the registrant contact details required by the registry. On success, credits are debited from your balance and the domain is queued for provisioning.

Request

Method: POST
Path: /v1/domains

Body Parameters

string
required
The fully-qualified domain name you want to register (e.g. example.com).
integer
The number of years to register the domain for. Must be between 1 and 10. Defaults to 1 if omitted.
boolean
Set to true to automatically renew this domain before it expires. Defaults to false if omitted.
boolean
Set to true to enable WHOIS privacy protection, which replaces your contact details with proxy information in the public registry. Defaults to false if omitted.
object
required
Registrant contact information required by the registry. All sub-fields below are strings.

Request Example

Response — 200 OK

object
The newly registered domain object.
Credits are debited from your balance immediately when the registration succeeds. Domain registrations cannot be reversed once confirmed with the registry.

Errors