Docs
Get API key

Campaigns

Pause a campaign

POST/campaigns/{campaignId}/pause

Pauses a running campaign: nobody in it gets their next step until it resumes. Repeating the call is safe.

Try itSend a real request with your API key

This changes your workspace, as the same change in the app would. Your key stays in this page and goes only to Salesteam.

Path

  • campaignIdstringRequired

    The campaign.

Headers

  • Idempotency-Keystring

    Any unique value up to 255 characters, like a UUID. The request runs once; repeats within 24 hours get the first answer, with Idempotent-Replayed: true. Up to 255 characters.

Answer

200 OK The campaign.

  • dataanyRequired

Errors

  • 401 Unauthorizedunauthorized
  • 404 Not foundnot_found not_in_campaign
  • 409 Conflictconflict idempotency_in_progress workspace_busy campaign_finished campaign_without_list tag_limit lead_has_history campaign_not_launched campaign_cannot_resume ambiguous_email
  • 422 Can’t processidempotency_key_reused
  • 429 Too many requestsrate_limited
  • 500 Server errorserver_error

Every error has the same shape. See Errors.

POST /campaigns/{campaignId}/pause
curl -X POST "https://app.salesteam.dev/api/v1/campaigns/CAMPAIGN_ID/pause" \
  -H "Authorization: Bearer $SALESTEAM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
200 answer
{
  "data": null
}