Skip to main content

Manage SMS Campaign

Update the status of an existing SMS campaign — pause, resume, complete, or archive it.

HTTP Request​

PUT /v2/accounts/<account_sid>/message-campaigns/<campaign_id>

Request Body​

{
"action": "<action>"
}

Available Actions​

ActionApplicable WhenDescription
pauseCreated or in-progressTemporarily stops the campaign
resumePausedResumes a paused campaign
completePausedMarks campaign as complete; remaining messages are marked as failed
archiveCompletedArchives the campaign

Response​

Returns the updated campaign details with the new status.

{
"request_id": "string",
"http_code": 200,
"response": [
{
"status": "success",
"data": {
"sid": "campaign_sid",
"status": "paused"
}
}
]
}