Skip to main content
POST
/
campaigns
/
{campaignId}
/
abort
curl --request POST \
  --url 'https://api.autosend.com/v1/campaigns/60d5ec49f1b2c72d9c8b4567/abort' \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "campaignId": "60d5ec49f1b2c72d9c8b4567",
    "name": "Spring Sale Newsletter",
    "subject": "Don't miss our Spring Sale!",
    "previewText": "Up to 50% off this weekend only",
    "status": "aborted",
    "sendMode": "immediate",
    "trackingClick": true,
    "trackingOpen": true,
    "createdAt": "2026-03-01T10:00:00.000Z",
    "updatedAt": "2026-03-15T14:30:00.000Z"
  }
}
curl --request POST \
  --url 'https://api.autosend.com/v1/campaigns/60d5ec49f1b2c72d9c8b4567/abort' \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "campaignId": "60d5ec49f1b2c72d9c8b4567",
    "name": "Spring Sale Newsletter",
    "subject": "Don't miss our Spring Sale!",
    "previewText": "Up to 50% off this weekend only",
    "status": "aborted",
    "sendMode": "immediate",
    "trackingClick": true,
    "trackingOpen": true,
    "createdAt": "2026-03-01T10:00:00.000Z",
    "updatedAt": "2026-03-15T14:30:00.000Z"
  }
}
MCP Access Blocked — This endpoint is not accessible via MCP (Model Context Protocol) integrations. It must be called directly using your API token from your own infrastructure.

Authorizations

Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaignId
string
required
The id of the campaign to abort.

Response

Returns the updated campaign object with status set to aborted. Aborting a campaign immediately stops all pending sends. Emails already sent are not recalled.
success
boolean
Indicates whether the request was successful.
data
object
The aborted campaign object.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer , where is your auth token.

Path Parameters

campaignId
string
required

Id of the campaign.

Response

Campaign aborted successfully.

success
boolean
Example:

true

data
object