API Documentation
Use the Domainio REST API to manage domains programmatically. For customer account operations, generate a scoped API key from your dashboard.
Base URL: https://staging.domainio.nlAuthorization: Bearer dk_live_…Domains
GET
/api/user/domainsAuthPOST
/api/domains/checkPOST
/api/domains/registerAuthGET
/api/domains/:idAuthPATCH
/api/domains/:id/settingsAuthDNS
GET
/api/domains/:id/dnsAuthPOST
/api/domains/:id/dnsAuthPATCH
/api/domains/:id/dnsAuthDELETE
/api/domains/:id/dnsAuthEmail Forwarding
GET
/api/domains/:id/emailAuthPOST
/api/domains/:id/emailAuthDELETE
/api/domains/:id/emailAuthBilling
GET
/api/agent/balanceAuthPOST
/api/user/billing/topupAuthAgent / MCP
POST
/api/agent/api-keysAuthGET
/api/agent/api-keysAuthDELETE
/api/agent/api-keys/:idAuthPOST
/api/mcpAuthRegister from the reseller wallet
In Admin → Domains, check the cost, select a saved registrant, and choose Authorize an agent to register. Give the agent the one-time bearer token for the approved domain and amount. It expires in ten minutes.
Call POST /api/agent/domains/register-owner with the token and an empty body. A 201 confirms registration. If you receive a 202 or the request is interrupted, check Admin → Domains for the order.
Quick Start
# Check domain availability
curl https://staging.domainio.nl/api/domains/check \
-X POST \
-H "Content-Type: application/json" \
-d '{"domain":"yourname.com"}'
# Register a domain (requires API key)
curl https://staging.domainio.nl/api/domains/register \
-X POST \
-H "Authorization: Bearer dk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"domainName":"yourname.com","years":1,"packageType":"domain_only","contactId":"CONTACT_ID"}'