Skip to main content
POST

Make a Call

Initiate an call using a specific voice agent. This endpoint creates a new call and returns call details including a unique call ID. For campaign-based calls, see Make a Campaign Call.

Endpoint

Path parameters

string
required
The unique identifier of the voice agent that will handle the call.

Request headers

string
required
Bearer token for authentication. Format: Bearer talq_your_environment_token_here
string
required
Must be set to application/json

Request body

string
required
The phone number to call. Must be in international format (e.g., +1234567890).
object
Replacement variables for the agent prompt. Use this to personalize the conversation with dynamic data. Keys should match placeholders in your agent’s prompt.
object
Custom data to be sent back to your client via webhooks. This data is not used in the conversation but will be included in all webhook events related to this call, allowing you to track and associate calls with your internal records.
integer
default:"0"
Number of seconds to delay before placing the call. Range: 03600 (1 hour). Useful for scheduling a call a few seconds or minutes after a triggering event.
boolean
default:"false"
When true, the call is marked as a test. Test calls do not consume billing credits and are excluded from analytics aggregates.

Examples

Response

Success Response (200 OK)

Response fields

boolean
required
Indicates whether the request was processed successfully.
string
required
Unique identifier for the call. Use this ID to track the call status, retrieve call details, or correlate with webhook events.
string
The ID of the voice agent handling the call.
string
required
The phone number that was called.
string
required
Current status of the call. Possible values:
  • initiated - Call has been created and is being processed
  • ringing - Phone is ringing
  • answered - Call is active and conversation is happening
  • completed - Call has finished successfully
  • failed - Call failed
  • busy - Phone was busy
  • no-answer - Phone rang but was not answered
string
required
ISO 8601 timestamp when the call was created.

Error responses

400 Bad Request

401 Unauthorized

404 Not Found

402 Payment Required

429 Too Many Requests

Error codes

Rate limits

Rate limit headers are included in all responses:
  • X-RateLimit-Limit: Maximum requests per window
  • X-RateLimit-Remaining: Remaining requests in current window
  • X-RateLimit-Reset: Time when the rate limit resets