API Reference
Welcome to the Truedy Public API reference. All endpoints are automatically generated from our OpenAPI specification.Base URL
All Public API endpoints are available at:Authentication
All endpoints require API key authentication using the Authorization header:Authorization: Bearer <your-api-key>. Create and manage keys in the dashboard (API Keys); see Authentication for details and error codes.
Request examples: All examples in this reference are cURL so you can copy, replace YOUR_API_KEY with your key, and run the request from your terminal.
Idempotency: Send X-Idempotency-Key (any unique string, e.g. UUID) on create requests to safely retry. These endpoints support it: POST /calls, POST /batch-calls, POST /tools, POST /agents.
OpenAPI Specification
The complete OpenAPI 3.1 specification is available at:- Live Endpoint:
https://api.truedy.ai/api/public/v1/openapi.json - Local File: openapi.json
View OpenAPI Spec
View the live OpenAPI specification
Response format
Successful responses use a consistent shape:- data – The resource(s) (object or array). Single-resource endpoints return an object; list endpoints return an array.
- meta – Includes
request_id(use when contacting support) andts(server timestamp).
error object with code, message, optional details; meta with request_id, ts).
Pagination: List endpoints use either limit/offset (e.g. calls, batch-calls, agents) or page/limit (e.g. contacts, telephony search). The response includes a pagination object (e.g. total, limit, offset, has_more or page, pages, total_results). See each resource’s List section for details.
API Endpoints
The API is organized into the following resource groups:- Agents - Manage AI voice agents
- Calls - Create and manage voice calls
- Tools - Configure external tool integrations
- Knowledge Bases - Manage knowledge base content
- Voices - Manage voice configurations
- Telephony - Phone number management
- Batch Calls - Batch call management
- Contacts - Contact and folder management

