Documentation formats
- Documentation index: product and subsection indexes designed for selective retrieval by an AI agent.
- Complete documentation: consolidated guide content for tools that require a complete documentation corpus.
- API error catalog: normalized API and product errors with scope, source provenance, and remediation metadata.
- Webhook event catalog: concrete callback payloads, media types, source specifications, and publication selectors.
Page-level Markdown
Append.md to a documentation page URL to retrieve clean Markdown for that page. For example:
OpenAPI and API reference
Use the consolidated OpenAPI specification for REST paths, request and response schemas, and webhook definitions. Published endpoint pages provide the corresponding API reference and ordered samples for:- JavaScript
- Python
- Go
- Java
- Ruby
- PHP
- Telnyx CLI
Production integration path
Apply this sequence when implementing a Telnyx API integration:- Select the relevant product quickstart or guide from the documentation index.
- Inspect the endpoint request, response, and language sample in the API reference.
- Implement authentication according to API authentication.
- Handle retryable and terminal failures using API error codes and the machine-readable error catalog.
- If the product emits callbacks, implement signature verification, asynchronous processing, deduplication, and product-specific retry handling from Webhook fundamentals.
- Retrieve exact callback payloads from the webhook event catalog.
- Apply rate-limit handling and command retry guidance.
Source selection
- Product setup or workflow: authored guide Markdown.
- Endpoint contract: API reference or OpenAPI.
- Language-specific request: endpoint code sample.
- API failure: error guide and error catalog.
- Callback payload: webhook reference and webhook catalog.
- Broad retrieval: subsection
llms.txtindex before a full-content export.