API Documentation
Integrate DingDns into your workflow with our REST API.
Quick Start
- Get your API key from the Dashboard
- Check server health:
GET /health - List your zones:
GET /api/zoneswithX-API-Keyheader
Authentication
All API requests require an X-API-Key header.
curl -H "X-API-Key: dk_your_key_here" \
https://your-server.com/api/zones
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /health | Health check |
| GET | /api/zones | List all zones |
| POST | /api/zones | Create zone |
| GET | /api/records/zone/:id | List records |
| POST | /api/records/zone/:id | Create record |
| PUT | /api/records/:id | Update record |
| DEL | /api/records/:id | Delete record |
| GET | /api/ddns/update | DDNS update |
For the complete API reference, see the full documentation on GitHub.