Skip to content

Pause a campaign

POST
/campaigns/{id}/pause
curl --request POST \
--url https://app.whatsetter.com/api/v1/campaigns/example/pause \
--header 'Authorization: Bearer <token>'

Pauses an active campaign (AI replies + sending stop). Same effect as the dashboard toggle. Requires scope campaigns:write.

id
required

The campaign id from GET /campaigns

string

The paused campaign

Media typeapplication/json
object
data
object
id
string
campaign_id

The value used by /leads?campaign_id= and lead objects.

string | null
name
string | null
status
string | null
purpose

Setter or group

string | null
whatsapp_connected
boolean
created_at
string format: date-time
Examplegenerated
{
"data": {
"id": "example",
"campaign_id": "example",
"name": "example",
"status": "example",
"purpose": "example",
"whatsapp_connected": true,
"created_at": "2026-04-15T12:00:00Z"
}
}

Missing, unknown or revoked API key

Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Resource not found in this workspace

Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Campaign is not active

Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}