Domains

Register a new domain

Checks domain availability, verifies pricing and client balance, then creates a registration order and deducts from credit balance. Free DNS management is automatically activated upon successful registration.

post/domains/register

Request

  • Base URL: https://api.imprezahost.com/v1
  • URL: https://api.imprezahost.com/v1/domains/register
  • Auth: API key in header X-API-Key and API key in header X-API-Secret

Request body

domainstring required
yearsinteger required
nameserversstring[]

Example request

{
  "domain": "mynewdomain.com",
  "years": 1,
  "nameservers": [
    "ns1.imprezahost.com",
    "ns2.imprezahost.com"
  ]
}

Response

Domain registered

Changes

No recorded changes to this operation across all 1 revision of this API.