curl --request PATCH \
--url 'https://api.autosend.com/v1/campaigns/60d5ec49f1b2c72d9c8b4567' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Spring Sale Newsletter - Final",
"subject": "Last chance: Spring Sale ends tonight!",
"previewText": "Up to 50% off — ends at midnight",
"trackingClick": true,
"trackingOpen": true
}'
{
"success": true,
"data": {
"campaignId": "60d5ec49f1b2c72d9c8b4567",
"name": "Spring Sale Newsletter - Final",
"subject": "Last chance: Spring Sale ends tonight!",
"previewText": "Up to 50% off — ends at midnight",
"status": "draft",
"sendMode": "immediate",
"trackingClick": true,
"trackingOpen": true,
"createdAt": "2026-03-01T10:00:00.000Z",
"updatedAt": "2026-03-15T14:30:00.000Z"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id of the campaign to update.
Body
All body fields are optional. Only the fields provided will be updated.
Display name of the campaign. Between 1 and 200 characters.
Email subject line. Between 1 and 998 characters.
Preview text shown in email clients. Maximum 200 characters.
Sender identity to use for this campaign.
Sender email address. Must be a valid email.
Sender display name. Maximum 200 characters.
id of a saved sender identity.
Reply-to email address. Must be a valid email.
ID of the email template to use.
Array of list or segment IDs to send the campaign to.
Array of list or segment IDs to exclude from sending.
ID of the unsubscribe group to associate with this campaign.
If true, triggers sending immediately.
ISO 8601 date-time string at which to schedule the campaign for sending.
If true, send to all contacts in the global list.
If true, publishes and finalizes the campaign.
Enable or disable click tracking.
Enable or disable open tracking.
Delivery mode. One of: immediate, scheduled, gradual.
Growth strategy for gradual sending. One of: fixed, 1.25x, 1.5x, 1.75x, 2x.
Number of emails to send per day in gradual mode. Must be at least 1.
Timezone string for scheduled or gradual sending.
Response
Returns the updated campaign object.
Indicates whether the request was successful.
The updated campaign object.
Unique identifier of the campaign.
Current status of the campaign.
Delivery mode: immediate, scheduled, or gradual.
Whether click tracking is enabled.
Whether open tracking is enabled.
ISO 8601 timestamp when the campaign was created.
ISO 8601 timestamp when the campaign was last updated.
Bearer authentication header of the form Bearer , where is your auth token.
Display name of the campaign.
Required string length: 1 - 200
Required string length: 1 - 998
Preview text shown in email clients.
Maximum string length: 200
Id of a saved sender identity.
ID of the email template to use.
List/segment IDs to send the campaign to.
List/segment IDs to exclude from sending.
ID of the unsubscribe group.
If true, send the campaign immediately.
ISO 8601 date-time to schedule the campaign.
If true, send to the entire global contact list.
If true, publish/finalize the campaign.
Enable or disable click tracking.
Enable or disable open tracking.
How the campaign is delivered.
Available options:
immediate,
scheduled,
gradual
Gradual send growth strategy (used when sendMode is 'gradual').
Available options:
fixed,
1.25x,
1.5x,
1.75x,
2x
Number of emails to send per day in gradual mode.
Required range: x >= 1
Timezone string for scheduled sending.
Campaign updated successfully.