Calls & Campaigns
Update Campaign Status
Update the status of a campaign (draft, active, paused, completed, cancelled)
PATCH
Update Campaign Status
Update the status of a campaign to control its lifecycle. Activates , pause, complete, or cancel campaigns.Endpoint
Path parameters
string
required
The unique identifier of the campaign.
Request headers
string
required
Bearer token for authentication. Format:
Bearer talq_your_environment_token_herestring
required
Application JSON. Format:
application/jsonRequest body
string
required
New status for the campaign. Options:
draft, active, paused, completed, cancelled.Valid Status Values
Example requests
Response
Success Response (200 OK)
Response fields
boolean
required
Indicates if the operation was successful.
string
required
Success message describing the operation.
object
required
Updated campaign status data.
Error responses
404 Not Found
422 Validation Error
400 Bad Request
401 Unauthorized
403 Forbidden
500 Server Error
Error codes
Status Transition Rules
Important notes
Status transitions. Not all status transitions are allowed. See the transition rules above.
Final states. Once a campaign reaches
completed or cancelled status, it cannot be changed.Active campaigns. Activating a campaign will start making calls according to the schedule.
Related endpoints
- Get Campaign:
GET /api/v1/campaigns/{campaign_id} - Update Campaign:
PUT /api/v1/campaigns/{campaign_id} - Create Campaign:
POST /api/v1/campaigns - Delete Campaign:
DELETE /api/v1/campaigns/{campaign_id} - List Campaigns:
GET /api/v1/campaigns