> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.divert.ly/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.divert.ly/_mcp/server.

# API Reference

> A guide to the Divertly API Reference: every public endpoint with parameters, schemas, errors, and an interactive explorer.

The **API Reference** section of these docs documents every public endpoint of the Divertly REST API: domains, routes, targets, QR codes, risk verdicts, organizations, users, API keys, audit events, and entitlements. For each endpoint it shows the path and method, parameters, request and response schemas, and the errors it can return, and it includes an interactive explorer for trying requests.

[Open the API Reference](/api-reference)

## Before you start

* The API lives at `https://api.divert.ly/v1`.
* Requests are authenticated with an API key. See [Authentication](/docs/developers/authentication), and [Managing API Keys](/docs/organization/managing-api-keys) to create one.
* Every response uses the same envelope, and list endpoints share the same pagination. See the [API Guide](/docs/developers/api-guide).
* API calls are rate limited. See [Rate Limits & Errors](/docs/developers/rate-limits-errors).

## Related

* [Manage Routes with the API](/docs/user-guides/manage-routes-with-the-api): a task-oriented walkthrough.
* [SDKs](/docs/developers/sdks): official client libraries are coming soon.