Make a Call
Make Campaign Call
Initiate a call as part of a specific campaign
POST
Make a campaign call
Queues a call under a specific campaign. The call inherits the campaign’s agent, schedule, retry policy, and DNC rules. For one-off calls (not subject to campaign scheduling), use Make a call instead.Endpoint
Path parameters
The unique identifier of the campaign.
Request headers
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereApplication JSON. Format:
application/jsonRequest body
Phone number to call in E.164 format (e.g., “+1234567890”).
Replacement variables for the campaign 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.
Whether this is a test call. Test calls do not consume billing credits and are excluded from analytics aggregates. Default:
false.Whether to allow placing this call even if the same
to number already has an active or queued call within the campaign. When false (default), the request returns 409 Conflict with the existing call’s details so you can avoid duplicate outreach. Default: false.Example requests
Response
Success Response (201 Created)
Response fields
Details of the queued campaign call.
Summary of the parent campaign at the time the call was queued.
Error responses
409 Conflict — Duplicate Call
Returned when a call to the sameto number is already active or queued in this campaign and allow_duplicates is false.
"allow_duplicates": true in the request body.
404 Not Found
422 Validation Error
400 Bad Request
401 Unauthorized
403 Forbidden
429 Too Many Requests
500 Server Error
Error codes
| Code | Description | HTTP Status |
|---|---|---|
CAMPAIGN_NOT_FOUND | Specified campaign does not exist | 404 |
VALIDATION_ERROR | Request validation failed | 422 |
CAMPAIGN_NOT_ACTIVE | Campaign is not in active status | 400 |
DUPLICATE_CALL | An existing call to the same number is queued or active | 409 |
INVALID_TOKEN | Authentication token is invalid or missing | 401 |
FORBIDDEN | Cannot make calls for this campaign | 403 |
RATE_LIMIT_EXCEEDED | Rate limit exceeded | 429 |
SERVER_ERROR | Internal server error occurred | 500 |
Campaign Status Requirements
| Campaign Status | Can Make Calls | Notes |
|---|---|---|
draft | No | Campaign must be active |
active | Yes | Calls can be made |
paused | No | Campaign is paused |
completed | No | Campaign has finished |
cancelled | No | Campaign was cancelled |
Important notes
Campaign context. Calls made through this endpoint are associated with the specific campaign.
Campaign settings. The call will follow the campaign’s configuration (agent, retry logic, etc.).
Test calls. Use
is_testing: true for test calls that don’t count toward billing.Related endpoints
- Get Campaign:
GET /api/v1/campaigns/{campaign_id} - Update Campaign Status:
PATCH /api/v1/campaigns/{campaign_id}/status - Make a Call:
POST /api/v1/calls - List Calls:
GET /api/v1/calls - Get Agent Calls:
GET /api/v1/agents/{agent_id}/calls