Skip to main content

POST /campaigns/:id/pause

Pause a running campaign. Pending sends remain in the queue and can be resumed later.

Authentication

JWT Bearer token (dashboard auth)

Response

{
  "success": true,
  "data": {
    "campaign": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "status": "paused"
    }
  }
}

Example

curl -X POST "https://app.usesendi.com/api/campaigns/CAMPAIGN_ID/pause" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Errors

StatusErrorCause
400Can only pause running campaignsCampaign is not running
404Campaign not foundInvalid ID or not owned by user