get https://a.klaviyo.com/api/campaigns//campaign-messages
Return all messages that belong to the given campaign.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
campaigns:read
Responses
Return all messages that belong to the given campaign.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
campaigns:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/campaigns/id/campaign-messages \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2025-01-15'
xxxxxxxxxx
151}
{
"data": [
{
"type": "campaign-message",
"id": "string",
"attributes": {
"definition": {
"channel": "email",
"label": "My message name",
"content": {
"subject": "Buy our product!",
"preview_text": "My preview text",
"from_email": "store@my-company.com",
"from_label": "My Company",
"reply_to_email": "reply-to@my-company.com",
"cc_email": "cc@my-company.com",
"bcc_email": "bcc@my-company.com"
}
},
"send_times": [
{
"datetime": "2022-11-08T00:00:00+00:00",
"is_local": true
}
],
"created_at": "2022-11-08T00:00:00+00:00",
"updated_at": "2022-11-08T00:00:00+00:00"
},
"links": {
"self": "string"
},
"relationships": {