Reference

API reference

Every endpoint an API key can call. Paths are under https://api.itoka.ng/api/v1; send Authorization: Bearer itk_live_….

The permission column is what a key needs; signed in to the dashboard, you can do all of it. "any" means any key that can use the zone, whatever its permissions. Bodies and responses are JSON; see each guide for the shapes, and Errors and limits for what can go wrong.

Zones

EndpointKey needsDoes
GET/zonesanyZones in the key’s scope, by name; unverified domains included.
POST/zoneszones:manageAdd a domain. Returns it unverified, with the TXT record to publish.
GET/zones/{zone}anyThe zone and the records the key may read (all with Read or Write records; a DNS-01 key sees only _acme-challenge). There’s no separate list-records endpoint.
DELETE/zones/{zone}zones:manageRemove an unverified domain; delete a verified zone with ?confirm={zone} (owners only).
POST/zones/{zone}/verification/checkzones:manageLook for the verification record now.
GET/zones/{zone}/delegationanyWhere the registry and parent zone point the domain.
POST/zones/{zone}/delegation/checkanyCheck delegation now (at most every 5 s).
GET/zones/{zone}/propagation?name=&type=records:readWhat ns1, ns2 and public resolvers answer for one name and type.
GET/zones/{zone}/setuprecords:readSetup checklists for providers the zone uses.

Read the zones guide →

Records

EndpointKey needsDoes
POST/zones/{zone}/records/validaterecords:writeCheck a record without saving it.
POST/zones/{zone}/recordsrecords:writeAdd a record. Body {record}. Returns {record, zone}.
PUT/zones/{zone}/records/{id}records:writeReplace the record with this id.
DELETE/zones/{zone}/records/{id}records:writeDelete a record; returns it.

Read the records guide →

Free subdomains

EndpointKey needsDoes
GET/free-subdomainsanyThe parent domain, the limit and how many you have.
GET/free-subdomains/check?name=anyWhether a name can be claimed, and why not.
POST/free-subdomainszones:manageClaim a name. Body {name}. Returns {zone}, live.

Read the free subdomains guide →

Presets and imports

EndpointKey needsDoes
GET/presetsanyThe presets and their parameters.
POST/zones/{zone}/presets/{preset}/previewrecords:read or records:writeWhat applying it would change.
POST/zones/{zone}/presets/{preset}/applyrecords:writeApply it.
POST/zones/{zone}/import/scanrecords:writeRead records from the domain’s current DNS host.
POST/zones/{zone}/import/zonefilerecords:writeRead records from a BIND zone file. Body {text}.
POST/zones/{zone}/import/applyrecords:writeCopy rows from a preview.

Read the presets and imports guide →

Domains and orders

EndpointKey needsDoes
GET/domains/search?q=no keyAvailability and prices across the extensions on sale.
GET/domainsdomains:readYour domains and those shared with you.
GET/domains/{name}domains:readOne domain.
PATCH/domains/{name}domains:manageNameservers, lock, auto-renew.
GET/contactsdomains:buyYour registrant contacts.
POST/contactsdomains:buyAdd a registrant contact.
POST/quotesdomains:buyA price for register, renew or transfer, held 15 minutes.
POST/promo-codes/checkdomains:buyWhat a promo code would pay for a quote.
POST/ordersdomains:buyOrder a quote. Send an Idempotency-Key header.
GET/ordersdomains:readYour orders, newest first.
GET/orders/{id}domains:readOne order, its timeline and invoice.
POST/orders/{id}/checkoutdomains:buyReopen payment for an order awaiting it.

Read the domains and orders guide →

Webhooks

EndpointKey needsDoes
GET/webhooks/event-typesanyEvery event type and what it means.
GET/webhookswebhooks:manageYour endpoints.
POST/webhookswebhooks:manageAdd an endpoint. Returns {webhook, secret}.
GET/webhooks/{id}webhooks:manageOne endpoint.
PATCH/webhooks/{id}webhooks:manageChange the URL, description, events, or turn it on or off.
DELETE/webhooks/{id}webhooks:manageDelete an endpoint and its history.
POST/webhooks/{id}/secretwebhooks:manageReplace the signing secret.
POST/webhooks/{id}/testwebhooks:manageSend a ping now; returns the delivery.
GET/webhooks/{id}/deliverieswebhooks:manageThe last 100 deliveries, with payloads and responses.
POST/webhooks/{id}/deliveries/{delivery}/redeliverwebhooks:manageSend one again now.

Read the webhooks guide →

Dashboard only

These need you signed in to the dashboard and refuse API keys: API keys themselves, the audit log, billing and invoices, sharing zones and domains (managers, handovers), domain transfer codes, and pay links.