Skip to main content

Overview

You can interact with the Truedy API using standard cURL commands. This is useful for testing endpoints directly from your terminal.

Base URL

https://api.truedy.ai/api/public/v1

Authentication

Include your API key in the Authorization header for all requests: Authorization: Bearer <your-api-key>.
-H "Authorization: Bearer YOUR_API_KEY"

Examples

List Agents

curl -X GET "https://api.truedy.ai/api/public/v1/agents" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create a Call

curl -X POST "https://api.truedy.ai/api/public/v1/calls" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "agent_123",
    "phone_number": "+15550123456"
  }'