Campaigns

Pause a sending campaign

Pause a SENDING campaign. The workers check the flag between batches, so a small number of already-queued emails may still be delivered after this returns. Takes no request body.

Requires the campaigns:write scope — Create, edit, and organize your campaigns.

post/api/v1/campaigns/{id}/pause

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/v1/campaigns/{id}/pause
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: campaigns:write)

Path parameters

idstring uuid required

Resource id.

Response

The paused campaign

audience_type'ALL' | 'FILTERED' | 'SEGMENT' | 'LIST' required
created_atstring date-time required
idstring uuid required
list_idstring uuid nullable required
namestring required
scheduled_atstring date-time nullable required
sent_atstring date-time nullable required
status'DRAFT' | 'SCHEDULED' | 'SENDING' | 'PAUSED' | 'SENT' | 'CANCELLED' required
subjectstring required
topic_idstring uuid nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.