Documentation

Call

Start single outbound calls from an agent and fetch call logs. Blutec routes the request to the underlying voice infrastructure and handles authentication, tenant scoping, and logging for you.

Start a call from an agent

Use this endpoint to trigger a single outbound call from a specific agent to a destination phone number. The agent, phone number, and provider routing are all configured in your Blutec dashboard.

cURL
curl -X POST "https://bkbharatai.blutec.ai/api/calls/dispatch" \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "ag_123",
    "to_number": "+15551234567",
    "from_number_id": "pn_123"
  }'

List and get calls

cURL
# List call logs for an agent (paginated)
curl -X GET "https://bkbharatai.blutec.ai/api/calls?agent_id=ag_123&limit=50&offset=0" \
  -H "Authorization: Bearer your_api_key"

# Get a single call detail
curl -X GET "https://bkbharatai.blutec.ai/api/calls/call_id_123" \
  -H "Authorization: Bearer your_api_key"

Related

  • Agent — create and manage agents
  • Bulk Call — run bulk outbound campaigns