All endpoints
Every path is relative to https://api.domainresellerapi.com and every request needs the two authentication headers. Select a path to see its request, response and errors.
Contacts
Section titled “Contacts”| Method | Path | What it does |
|---|---|---|
| POST | /api/v1/contacts | Creates a contact and returns its handle code. |
| GET | / | Reads a contact in your account, together with any verification process currently open on it. |
| PUT | / | Updates a contact. |
| GET | / | Current verification state for a handle. |
| POST | / | Re-sends the verification e-mail. |
Domains
Section titled “Domains”| Method | Path | What it does |
|---|---|---|
| POST | /api/v1/domains/search | Is this domain available, and what would it cost? |
| POST | / | Up to 30 domains in one call. |
| POST | / | Registers a domain, creating contact records from the details you send. |
| POST | / | Registers a domain using contact handles that already exist in your account. |
| POST | / | Dry run: can this domain be renewed for this term, and at what price? |
| POST | /api/v1/domains/renew | Renews the domain and debits your balance. |
| POST | / | Asks the registry whether the domain can be transferred to you with the authorisation code you hold, and what it would cost. |
| POST | / | Starts the transfer and debits your balance. |
| POST | / | Status of a transfer in flight. |
| GET | /api/v1/domains/info | Everything we know about one of your domains. |
| GET | /api/v1/domains | Paged list of the domains in your account. |
| POST | /api/v1/domains/lock | Turns the registrar transfer lock on or off. |
| POST | /api/v1/domains/unlock | Turns the registrar transfer lock on or off. |
| POST | /api/v1/domains/privacy | Turns WHOIS privacy protection on or off. |
| PUT | /api/v1/domains/auth | Generates a new transfer authorisation code and returns it. |
| PUT | / | Replaces the contact details for one or more roles on a single domain. |
| PUT | / | Points a domain's roles at handles that already exist in your account. |
| POST | / | Creates a forwarding record. |
| GET | / | Read or remove the forwarding record. |
| DELETE | / | Read or remove the forwarding record. |
| POST | /api/v1/domains/restore | Recovers a deleted domain from the registry's redemption period. |
| POST | / | Uploads one or more documents as Base64 and forwards each to the registry. |
| GET | / | Lists the documents uploaded for a domain and their review status. |
Name servers & DNSSEC
Section titled “Name servers & DNSSEC”| Method | Path | What it does |
|---|---|---|
| PUT | / | Replaces the domain's name servers. |
| POST | / | Creates a host record with its IP addresses. |
| PUT | / | Rename a host and/or replace its IP addresses, or delete it. |
| DELETE | / | Rename a host and/or replace its IP addresses, or delete it. |
| GET | / | Current DNSSEC state, the published DS records, and what this extension accepts. |
| POST | / | Publishes one or more DS records at the registry, enabling DNSSEC. |
| DELETE | / | Remove one DS record, or all of them. |
| POST | / | Remove one DS record, or all of them. |
DNS records
Section titled “DNS records”| Method | Path | What it does |
|---|---|---|
| GET | /api/v1/domains/zones | Reads every record set in the zone. |
| POST | /api/v1/domains/zones | Adds one or more values to a record set. |
| PUT | /api/v1/domains/zones | Replaces a record set. |
| DELETE | /api/v1/domains/zones | Deletes one value from a record set. |
| POST | / | Publishes the zone by delegating the domain to our name servers. |
SSL certificates
Section titled “SSL certificates”| Method | Path | What it does |
|---|---|---|
| POST | / | Generates a CSR and matching private key on our side. |
| POST | /api/v1/ssls/check-csr | Decodes a CSR so you can confirm its contents before buying. |
| GET | /api/v1/ssls/approvers | Lists the e-mail addresses the CA will accept as the domain's approver, for e-mail-based validation. |
| POST | /api/v1/ssls/initialize | |
| PUT | /api/v1/ssls/configure | Submits everything the CA needs and opens the order at the provider. |
| PUT | / | Asks the CA where the order stands and updates our record. |
| GET | / | Full detail for the certificate on a domain. |
| GET | / | Returns the issued certificate and its chain. |
| POST | /api/v1/ssls/reissue | Re-issues an active certificate with a new key pair or a new approver. |
| DELETE | /api/v1/ssls/revoke | Revokes the certificate. |
Hosting
Section titled “Hosting”| Method | Path | What it does |
|---|---|---|
| GET | / | Lists what you can sell. |
| POST | /api/v1/hostings/create | Buys the package and queues provisioning. |
| GET | / | Reports where provisioning got to and, once complete, returns the credentials. |
| GET | /api/v1/hostings | Look up a hosting record, or read its plan limits. |
| GET | / | Look up a hosting record, or read its plan limits. |
| GET | /api/v1/hostings/plans | Look up a hosting record, or read its plan limits. |
Catalogue & billing
Section titled “Catalogue & billing”| Method | Path | What it does |
|---|---|---|
| GET | /api/v1/products/tlds | |
| GET | /api/v1/products/ssls | Certificate packages and their prices. |
| GET | /api/v1/products/info | One product with its selling price recalculated for your account right now. |
| GET | / | Reads one order with its line items. |
| GET | / | Your current balances. |
| GET | / | Paged ledger of every balance movement. |