---
title: "Get Campaign Message"
description: "How to call Get Campaign Message (GET /api/campaign-messages/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/get_campaign_message"
revision: "2026-07-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_campaign_message"
operationId: "get_campaign_message"
method: "GET"
endpoint: "https://a.klaviyo.com/api/campaign-messages/{id}"
authentication: "privateKey"
scopes: ["campaigns:read"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json"
jsonApi: {"include":["campaign","image","template"],"fields":{"campaign-message":["created_at","definition","definition.channel","definition.content","definition.content.action_buttons","definition.content.bcc_email","definition.content.body","definition.content.cc_email","definition.content.dynamic_image","definition.content.from_email","definition.content.from_label","definition.content.media_url","definition.content.preview_text","definition.content.reply_to_email","definition.content.subject","definition.content.title","definition.kv_pairs","definition.label","definition.notification_type","definition.options","definition.options.badge","definition.options.badge.badge_options","definition.options.badge.badge_options.badge_config","definition.options.badge.badge_options.set_from_property","definition.options.badge.badge_options.value","definition.options.badge.display","definition.options.on_open","definition.options.on_open.android_deep_link","definition.options.on_open.ios_deep_link","definition.options.on_open.type","definition.options.on_open.web_url","definition.options.play_sound","definition.options.push_platform_target","definition.options.send_to_primary","definition.render_options","definition.render_options.add_info_link","definition.render_options.add_opt_out_language","definition.render_options.add_org_prefix","definition.render_options.shorten_links","id","send_times","updated_at"],"campaign":["archived","audiences","audiences.excluded","audiences.included","created_at","id","name","scheduled_at","send_options","send_options.use_smart_sending","send_strategy","send_strategy.date","send_strategy.datetime","send_strategy.method","send_strategy.options","send_strategy.options.is_local","send_strategy.options.send_past_recipients_immediately","send_strategy.throttle_percentage","send_time","status","tracking_options","tracking_options.add_tracking_params","tracking_options.custom_tracking_params","tracking_options.is_tracking_clicks","tracking_options.is_tracking_opens","updated_at"],"image":["format","hidden","id","image_url","name","size","updated_at"],"template":["amp","created","editor_type","html","id","name","screenshot_url","text","updated"]}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/campaigns/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/update_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/assign_template_to_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_campaign_for_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_campaign_id_for_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_template_for_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_template_id_for_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_image_for_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_image_id_for_campaign_message.md","https://developers.klaviyo.com/en/v2026-07-15/reference/update_image_for_campaign_message.md"]
---

# Get Campaign Message

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/get_campaign_message

```http
GET https://a.klaviyo.com/api/campaign-messages/{id}
```

Returns a specific message based on a required id.

- Revision header: `revision: 2026-07-15` (required)
- Scopes: `campaigns:read`
- Rate limits: Burst: `10/s`, Steady: `150/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json)

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/campaign-messages/id' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15'
```

## Path parameters

- `id` (string, required): The message ID to be retrieved

## Query parameters

- `fields[campaign-message]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `created_at`, `definition`, `definition.channel`, `definition.content`, `definition.content.action_buttons`, `definition.content.bcc_email`, `definition.content.body`, `definition.content.cc_email`, `definition.content.dynamic_image`, `definition.content.from_email`, `definition.content.from_label`, `definition.content.media_url`, `definition.content.preview_text`, `definition.content.reply_to_email`, `definition.content.subject`, `definition.content.title`, `definition.kv_pairs`, `definition.label`, `definition.notification_type`, `definition.options`, `definition.options.badge`, `definition.options.badge.badge_options`, `definition.options.badge.badge_options.badge_config`, `definition.options.badge.badge_options.set_from_property`, `definition.options.badge.badge_options.value`, `definition.options.badge.display`, `definition.options.on_open`, `definition.options.on_open.android_deep_link`, `definition.options.on_open.ios_deep_link`, `definition.options.on_open.type`, `definition.options.on_open.web_url`, `definition.options.play_sound`, `definition.options.push_platform_target`, `definition.options.send_to_primary`, `definition.render_options`, `definition.render_options.add_info_link`, `definition.render_options.add_opt_out_language`, `definition.render_options.add_org_prefix`, `definition.render_options.shorten_links`, `id`, `send_times`, `updated_at`
- `fields[campaign]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `archived`, `audiences`, `audiences.excluded`, `audiences.included`, `created_at`, `id`, `name`, `scheduled_at`, `send_options`, `send_options.use_smart_sending`, `send_strategy`, `send_strategy.date`, `send_strategy.datetime`, `send_strategy.method`, `send_strategy.options`, `send_strategy.options.is_local`, `send_strategy.options.send_past_recipients_immediately`, `send_strategy.throttle_percentage`, `send_time`, `status`, `tracking_options`, `tracking_options.add_tracking_params`, `tracking_options.custom_tracking_params`, `tracking_options.is_tracking_clicks`, `tracking_options.is_tracking_opens`, `updated_at`
- `fields[image]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `format`, `hidden`, `id`, `image_url`, `name`, `size`, `updated_at`
- `fields[template]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `amp`, `created`, `editor_type`, `html`, `id`, `name`, `screenshot_url`, `text`, `updated`
- `include` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `campaign`, `image`, `template`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `campaign-message`
  - `id` (string, required): The message ID
  - `attributes` (object, required)
    - `definition` (oneOf, nullable)
      - One of:
        - Option 1: `EmailMessageDefinition` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
        - Option 2: `SMSMessageDefinition` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
        - Option 3: `MobilePushMessageStandardDefinition` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
        - Option 4: `MobilePushMessageSilentDefinition` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
    - `send_times` (object[], nullable): The list of appropriate Send Time Sub-objects associated with the message
      - `datetime` (string<date-time>, required): The datetime that the message is to be sent Example: `2022-11-08T00:00:00+00:00`
      - `is_local` (boolean, required): Whether that datetime is to be a local datetime for the recipient
    - `created_at` (string<date-time>, nullable): The datetime when the message was created Example: `2022-11-08T00:00:00+00:00`
    - `updated_at` (string<date-time>, nullable): The datetime when the message was last updated Example: `2022-11-08T00:00:00+00:00`
  - `relationships` (object)
    - `campaign` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
    - `template` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
    - `image` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `included` (oneOf[])
  - One of:
    - Option 1: `TemplateResponseObjectResource`
      - `type` (string, required): Allowed values: `template`
      - `id` (string, required): The ID of template
      - `attributes` (object, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.
    - Option 2: `CampaignResponseObjectResource`
      - `type` (string, required): Allowed values: `campaign`
      - `id` (string, required): The campaign ID
      - `attributes` (object, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `relationships` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.
    - Option 3: `ImageResponseObjectResource`
      - `type` (string, required): Allowed values: `image`
      - `id` (string, required): The ID of the image Example: `7`
      - `attributes` (object, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_campaign_message.json).
      - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "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"
    },
    "relationships": {
      "campaign": {
        "data": {
          "type": "campaign",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "template": {
        "data": {
          "type": "template",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "image": {
        "data": {
          "type": "image",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "included": [
    {
      "type": "template",
      "id": "string",
      "attributes": {
        "name": "string",
        "editor_type": "string",
        "html": "string",
        "text": "string",
        "amp": "string",
        "created": "2022-11-08T00:00:00+00:00",
        "updated": "2022-11-08T00:00:00+00:00",
        "screenshot_url": "string"
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
