Dotsync API reference
Authentication
- Use API keys from your Dotsync account (Account → API Keys).
- Include the key in the
Authorization: Bearer <key>header.
Example: list domains
GET /api/v1/domains
Authorization: Bearer <key>
Example: add DNS record
POST /api/v1/domains/{domain}/dns
Content-Type: application/json
{
"type": "A",
"name": "",
"value": "192.0.2.1",
"ttl": 3600
}
Error handling
- 4xx: client errors (bad request, unauthorized)
- 5xx: server errors (try again and contact support)
Related: dns-management