Skip to main content
POST
Register a domain

Authorizations

Authorization
string
header
required

A personal access token. Obtain one from the dashboard under Settings > API Key. Include it in the Authorization header as Bearer <token>. Unauthenticated requests to protected routes return 401 Unauthorized.

Body

application/json
customer_id
integer
required

ID of the customer under whose account the domain will be registered.

Example:

85384231

domain_name
string
required

Fully qualified domain name to register (e.g. example.com).

Maximum string length: 80
Example:

"example.com"

duration
integer
required

Registration term in years (1–10).

Required range: 1 <= x <= 10
Example:

1

Response

Domain registered successfully.

status
string
Example:

"SUCCESS"

message
string
Example:

"Domain registered successfully"

order_id
integer

Unique identifier for the new domain order. Store this — it is required for renewal, DNS management, and order lookup.

Example:

124680932