Update Campaign
PATCHhttps://a.klaviyo.com/api/campaigns/{id}/
Update a campaign with the given campaign ID.
- Revision header
revision: 2024-06-15required- Scopes
campaigns:write- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
The campaign ID to be retrieved
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2024-06-15
Request body
Content type: application/jsonrequired
Show 3 fields
The campaign ID to be retrieved
Show 5 fields
The campaign name
Options to use when sending a campaign
The tracking options associated with the campaign
Option 1:
EmailTrackingOptionsSubObjectWhether the campaign needs UTM parameters. If set to False, UTM params will not be used.
A list of UTM parameters. If an empty list is given and is_add_utm is True, uses company defaults.
Whether the campaign is tracking click events. If not specified, uses company defaults.
Whether the campaign is tracking open events. If not specified, uses company defaults.
Option 2:
SMSTrackingOptionsSubObjectWhether the campaign needs UTM parameters. If set to False, UTM params will not be used.
A list of UTM parameters. If an empty list is given and is_add_utm is True, uses company defaults.
Enter valid JSON. Until you do, the example request uses the example value.
Show 4 fields
Describes the shape of the options object. Allowed values: ['static', 'throttled', 'immediate', 'smart_send_time']
Show 3 fields
The time to send at
If the campaign should be sent with local recipient timezone send (requires UTC time) or statically sent at the given time. Defaults to False.
Determines if we should send to local recipient timezone if the given time has passed. Only applicable to local sends. Defaults to False.
Show 1 field
The day to send on
Responses
200Success
Content type: application/json
Show 5 fields
The campaign ID
Show 11 fields
The campaign name
The current status of the campaign
Whether the campaign has been archived or not
Options to use when sending a campaign
The tracking options associated with the campaign
Option 1:
EmailTrackingOptionsSubObjectWhether the campaign needs UTM parameters. If set to False, UTM params will not be used.
A list of UTM parameters. If an empty list is given and is_add_utm is True, uses company defaults.
Whether the campaign is tracking click events. If not specified, uses company defaults.
Whether the campaign is tracking open events. If not specified, uses company defaults.
Show 4 fields
Describes the shape of the options object. Allowed values: ['static', 'throttled', 'immediate', 'smart_send_time']
Show 3 fields
The time to send at
If the campaign should be sent with local recipient timezone send (requires UTC time) or statically sent at the given time. Defaults to False.
Determines if we should send to local recipient timezone if the given time has passed. Only applicable to local sends. Defaults to False.
Show 1 field
The day to send on
The datetime when the campaign was created
The datetime when the campaign was scheduled for future sending
The datetime when the campaign was last updated by a user or the system
The datetime when the campaign will be / was sent or None if not yet scheduled by a send_job.
Show 2 fields
Show 1 field
4XXClient Error
Content type: application/json
5XXServer Error
Content type: application/json