API reference
Every endpoint of the Divertly REST API.
The Divertly API lets you do everything the dashboard does from your own code: add domains, create routes, add targets, change weights, generate QR codes, and manage your organization.
Basics
Successful responses are wrapped in a body field. List endpoints that paginate also return a meta block, and accept page (1-based) and size (1–256, default 20). Errors return { "error": "<message>", "meta": { "errorCode": "<code>" } }.
Where to go next
- Authentication: create a key and sign requests.
- API Guide: envelope, pagination, and notes on specific endpoints.
- Manage Routes with the API: a walkthrough of common tasks.
- Rate Limits & Errors: limits and the full error code list.
Explore the endpoints
The endpoints below are grouped by resource. Use the interactive explorer on any endpoint page to try a request with your own API key.
Official SDKs for Python, JavaScript, and Go are coming soon. Until then, the API is plain HTTP and works with any client. See SDKs.

