Pause an email campaign

Deprecated

POST
/emails/campaigns/{campaignId}/pause

Pauses a RUNNING campaign (status PAUSED) and clears its scheduled jobs. Errors if the campaign is not RUNNING. New integrations should use the multichannel /advanced campaign endpoints instead.

Authorization

apiKey
Authorization<token>

Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.

In: header

Path Parameters

campaignId*string

Mongo ObjectId of the campaign.

Response Body

application/json

application/json

curl -X POST "https://example.com/emails/campaigns/65f1a2b3c4d5e6f73478765e/pause" \  -H "Authorization: YOUR_API_KEY"
{  "success": true}