Update Campaign Message
PATCHhttps://a.klaviyo.com/api/campaign-messages/{id}
Update a campaign message
- Revision header
revision: 2025-01-15required- Scopes
campaigns:write- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
The message ID to be retrieved
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Show 4 fields
The message ID to be retrieved
Show 1 field
The contents and settings of the campaign message
Option 1:
EmailMessageDefinitionThe label or name on the message
Show 7 fields
The subject of the message
Preview text associated with the message
The email the message should be sent from
The label associated with the from_email
Optional Reply-To email address
Optional CC email address
Optional BCC email address
Option 3:
MobilePushMessageStandardDefinitionUpdateThe key-value pairs to be sent with the push notification
Enter valid JSON. Until you do, the example request uses the example value.
Show 3 fields
Only supported on iOS.
Option 1:
MobilePushBadgeWhether to display a badge on the app icon
Badge options
Option 2:
MobilePushNoBadgeWhether to display a badge on the app icon
Only supported on iOS.
Responses
200Success
Content type: application/vnd.api+json
Show 5 fields
The message ID
Show 4 fields
Option 1:
EmailMessageDefinitionThe label or name on the message
Show 7 fields
The subject of the message
Preview text associated with the message
The email the message should be sent from
The label associated with the from_email
Optional Reply-To email address
Optional CC email address
Optional BCC email address
Option 2:
SMSMessageDefinitionOption 3:
MobilePushMessageStandardDefinitionThe key-value pairs to be sent with the push notification
Show 3 fields
Only supported on iOS.
Option 1:
MobilePushBadgeWhether to display a badge on the app icon
Badge options
Option 2:
MobilePushNoBadgeWhether to display a badge on the app icon
Only supported on iOS.
The list of appropriate Send Time Sub-objects associated with the message
The datetime when the message was created
The datetime when the message was last updated
Show 3 fields
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json