Get started
Build with an AI agent
Let Claude, Codex or another coding agent write the integration. Give it these docs in the form it reads best, then review what it builds.
Paste this prompt
- Open your agent in your own codebase, the one that holds your leads.
- Paste the prompt beside this text. It points the agent at the full reference, so you don't have to copy the docs in.
- Answer its questions about how your fields map onto RouteDesk's.
- Review the code before it sends anything to a broker.
Files made for agents
Every file is generated from the same source as these pages, so it is always current.
- llms-full.txt: The complete documentation as one Markdown file: an implementation checklist, every field with its rules, every response with its body, limits, retries and testing.
- openapi.json: An OpenAPI 3.1 spec of the endpoint, for agents and code generators that work from a spec.
- llms.txt: An index of these docs, the standard file AI tools look for.
Getting a good result
- Let the agent test against the demo account. The reference includes its Auth Key, so the agent can send test leads and you can see them by signing in. See Testing your integration.
- Keep the live Auth Key out of the chat. Have the agent read it from an environment variable (the prompt asks for
ROUTEDESK_AUTH_KEY) and set the value yourself. - Never paste real customer data into the agent or into test requests.
- Check the field mapping yourself. A misspelled field is ignored rather than rejected, so compare a test lead with what you sent.