Make a Call
Make a Call
Initiate an call using a voice agent
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
The unique identifier of the voice agent that will handle the call.
Request headers
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereMust be set to
application/jsonRequest body
The phone number to call. Must be in international format (e.g.,
+1234567890).Replacement variables for the agent prompt. Use this to personalize the conversation with dynamic data. Keys should match placeholders in your agent’s prompt.
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.
Number of seconds to delay before placing the call. Range:
0–3600 (1 hour). Useful for scheduling a call a few seconds or minutes after a triggering event.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
Indicates whether the request was processed successfully.
Unique identifier for the call. Use this ID to track the call status, retrieve call details, or correlate with webhook events.
The ID of the voice agent handling the call.
The phone number that was called.
Current status of the call. Possible values:
initiated- Call has been created and is being processedringing- Phone is ringinganswered- Call is active and conversation is happeningcompleted- Call has finished successfullyfailed- Call failedbusy- Phone was busyno-answer- Phone rang but was not answered
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
| Code | Description | HTTP Status |
|---|---|---|
INVALID_PHONE_NUMBER | Phone number format is invalid | 400 |
MISSING_PHONE_NUMBER | Phone number is required | 400 |
INVALID_TOKEN | Authentication token is invalid or missing | 401 |
AGENT_NOT_FOUND | Specified agent does not exist | 404 |
AGENT_INACTIVE | Agent is not published | 400 |
INSUFFICIENT_CREDITS | Account has insufficient credits | 402 |
RATE_LIMIT_EXCEEDED | Too many requests in a short time | 429 |
Rate limits
Rate limit headers are included in all responses:X-RateLimit-Limit: Maximum requests per windowX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Time when the rate limit resets
Related endpoints
- Make a Campaign Call — place calls scheduled by a campaign.
- List Calls — retrieve historical calls.
- Get Agent — fetch agent configuration.