Order a new domain registration. This creates an order, deducts your reseller credits, and provisions the domain to your account once the account and order are active. POST /order/domains/register Send the body as application/x-www-form-urlencoded. Nested values use PHP bracket notation, for example nameservers[ns1]=... and contacts[registrant][firstname]=.... Authenticate with the username and token headers described in Authentication.

Parameters

text
required
The full domain to register, for example hostraha-demo-42.com.
numeric
required
Registration period in years. Must be a period the TLD offers (see TLDs).
object
required
The domain’s nameservers, sent as nameservers[ns1]nameservers[ns5]. ns1 and ns2 are required; ns3ns5 are optional. See the Nameservers model.
object
required
The registrant, tech, billing, and admin contacts, sent as contacts[registrant][...], contacts[tech][...], contacts[billing][...], and contacts[admin][...]. See the Contacts model for the fields in each contact.
text
TLD-specific registration fields, required by some TLDs (for example a registrant ID). Sent as nested domainfields[...] values.
object
Optional add-ons, sent as addons[dnsmanagement], addons[emailforwarding], and addons[idprotection], each 1 to enable or 0 to disable. See the Addons model.

Request

The examples send a complete order: two nameservers, a full registrant contact reused for tech, billing, and admin, and all three add-ons enabled. Replace the placeholder credentials and contact details with your own.

Response

On success the endpoint returns the bare JSON string "success".
A "success" response charges your reseller credits and creates the order. The domain provisions to your account once the account and order are active. Until then, the management endpoints return a 403 “not found in reseller account”. See Credits and billing for how ordering draws down your balance.