Get Campaign Message
GEThttps://a.klaviyo.com/api/campaign-messages/{id}
Get a campaign message by ID.
- Revision header
revision: 2026-10-15required- Scopes
campaigns:read- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
The ID of the message
Query parameters
For more information please visit API overview
For more information please visit API overview
For more information please visit API overview
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-10-15
Responses
200Success
Content type: application/vnd.api+json
Show 5 fields
The ID of the message
Show 3 fields
The datetime when this message was created
The datetime when this message was updated
Show 5 fields
The name of the message
The status of the message
Show 4 fields
Show 7 fields
The UTC send time for this message
Per-variation send times, keyed by variation ID. Populated for send-time optimization and AB send time test strategies.
The scheduling strategy for this message.
The percentage of recipients to send this message to
The throttling type for this message
The time unit each batch of recipients is sent over for throttled sends.
Whether to ignore unsubscribes for this message
Show 3 fields
The metric used to pick the winning variation.
The percentage of the audience that receives the winning variation. The remainder is split evenly across the variations under test.
How long to collect results before picking a winner, in hours. New values may be at most 264 (11 days). Returned as null when no wait is set or the saved wait is outside 1-720 hours.
Show 3 fields
Show 1 field
Option 1:
OmniCampaignResponseObjectResourceThe campaign ID
Show 3 fields
The datetime when the campaign was created
The datetime when the campaign was last updated
Show 6 fields
The campaign name
Builder type: canvas or wizard
Whether the campaign has been archived
Campaign display color as a hex string (e.g. 'ff5733')
A short description of the campaign
Show 5 fields
Timezone for send scheduling (IANA format). Must be 'UTC' when send_strategy is 'timezone', because each recipient's local timezone is used at send time.
Send strategy type. Writable values are 'timezone' and 'simple'; 'simple' requires send_timezone.
Send to past-timezone recipients immediately
Whether exit conditions are enabled for this campaign
The conversion metric ID used for exit conditions
Show 3 fields
Option 2:
VariationResponseObjectResourceThe ID of the variation
Show 3 fields
The datetime when this variation was created
The datetime when this variation was updated
Show 2 fields
The name of the variation
The channel-specific content details for this variation
Option 2:
SMSChannelDetailsNot allowed on create.
A sms message variation's text message type.
Values match the Django OmniSMSTextMessageType (MESSAGE_FORMAT_*) constants.
Option 1:
MessageHierarchyRcsItemThe plain text message content. Often empty for RCS when rich_content is used.
The format of this message (always 'RCS' for RCS entries).
Show 3 fields
List of cards in this rich content. At most 10.
Show 7 fields
Unique identifier for this card.
Optional title for the card. 200 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.
The text content/description of the card. 2000 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.
Additional card-specific metadata (e.g., product info). Optional.
Optional image for this card.
Option 1:
ImageAssetThe unique identifier for this image asset. Not allowed on update.
The file path of the image in Klaviyo's storage.
The human-readable name of the image.
The image file format.
The size of the image file in bytes.
Timestamp when the image was last updated.
The origin/source of the image (e.g., UI, API, AI, etc.).
The full URL to access the image.
The type of image (static or dynamic).
Localization key for this image asset, if applicable.
Option 2:
SlimImageReferenceID of the static image asset when the card uses a library image.
Dynamic image template (e.g. Django tags) for the card image.
Pre-rendered image URL when available.
Optional video for this card. May be a hydrated MediaAsset or a reference-style payload (e.g. static_asset_id), matching MMS
MessageHierarchySmsItem.mediabehavior.Option 1:
MediaAssetThe unique identifier for this media asset. Not allowed on update.
The company ID that owns this media.
The full URL to access the media.
The media type (e.g., 'video' for video assets).
The human-readable name of the media.
The size of the media file in bytes.
Optional thumbnail URL for video previews in RCS cards.
Localization key for this media asset, if applicable.
Optional action buttons for this card. At most 4.
Show 5 fields
Unique identifier for this suggestion/button.
The display text for the suggestion button. 25 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.
The type of action this suggestion performs.
The URL to open (required for OPEN_URL type).
How the URL opens on the device for OPEN_URL suggestions (browser vs webview size). Emitted to Infobip as openIn. Absent means browser.
List of suggestion buttons for user interaction. At most 11.
Additional metadata for RCS messages. Legacy placement. This is typically used in rich_content.cards.extra.
Option 2:
MessageHierarchySmsItemThe plain text SMS message content.
The format of this message (always 'SMS' for SMS entries).
Additional metadata for SMS messages (e.g., should_use_same_content flag).
Image reference for MMS messages. Mutually exclusive with media.
Video media for MMS messages as either a hydrated MediaAsset or a reference-style payload. Mutually exclusive with image.
Option 1:
MediaAssetOption 2:
MediaAssetReference
Option 3:
PushChannelDetailsA push message variation's badge config.
A push message variation's push type.
Show 3 fields
Response-level metadata
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json