Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/get_campaign_messages.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/get_campaign_messages.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-10-15

Get Campaign Messages

GEThttps://a.klaviyo.com/api/campaign-messages

Returns campaign messages based on filters.

Revision header
revision: 2026-10-15required
Scopes
campaigns:read
Rate limits
Burst: 10/sSteady: 150/m

Query parameters

  • fields[campaign-message]#string[]

    For more information please visit API overview

    Show 23 allowed values
    • created
    • definition
    • definition.ab_test
    • definition.ab_test.winner_metric
    • definition.ab_test.winner_percentage
    • definition.ab_test.winner_wait_hours
    • definition.name
    • definition.send_options
    • definition.send_options.is_ignoring_unsubscribes
    • definition.send_options.recipient_percentage
    • definition.send_options.send_strategy
    • definition.send_options.send_time
    • definition.send_options.send_times
    • definition.send_options.throttle_unit
    • definition.send_options.throttling_type
    • definition.status
    • definition.tracking_options
    • definition.tracking_options.is_add_utm
    • definition.tracking_options.is_tracking_clicks
    • definition.tracking_options.is_tracking_opens
    • definition.tracking_options.tracking_params
    • id
    • updated
  • fields[campaign]#string[]

    For more information please visit API overview

    Show 15 allowed values
    • created_at
    • definition
    • definition.archived
    • definition.builder
    • definition.color
    • definition.description
    • definition.name
    • definition.send_settings
    • definition.send_settings.exit_condition_conversion_metric_id
    • definition.send_settings.exit_condition_enabled
    • definition.send_settings.send_passed_rltz_immediately
    • definition.send_settings.send_strategy
    • definition.send_settings.send_timezone
    • id
    • updated_at
  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    id: any, equals (string)
    campaign_id: equals (string)
    name: contains (string)
    status: equals (string)
    created: greater-or-equal, greater-than, less-or-equal, less-than (date-time)
    updated: greater-or-equal, greater-than, less-or-equal, less-than (date-time)

    Example: equals(id,'example')

  • include#string[]

    For more information please visit API overview

    Allowed values:
    • campaign
    • campaign-variations
  • page[cursor]#string

    For more information please visit API overview

  • page[size]#integer

    Default: 20. Min: 1. Max: 100.

  • sort#string

    For more information please visit API overview

    Show 10 allowed values
    • created
    • -created
    • id
    • -id
    • name
    • -name
    • status
    • -status
    • updated
    • -updated

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-10-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • campaign-message
    • id#stringrequired

      The ID of the message

    • attributes#objectrequired
      Show 3 fields
      • created#string<date-time>required

        The datetime when this message was created

        Example: 2022-11-08T00:00:00+00:00

      • updated#string<date-time>required

        The datetime when this message was updated

        Example: 2022-11-08T00:00:00+00:00

      • definition#objectrequired
        Show 5 fields
        • name#stringnullable

          The name of the message

        • status#stringnullable

          The status of the message

          Allowed values:
          • cancelled
          • draft
          • scheduled
          • sending
          • sent
        • tracking_options#object
          Show 4 fields
          • is_add_utm#booleannullable
          • is_tracking_clicks#booleannullable
          • is_tracking_opens#booleannullable
          • tracking_params#oneOf[]nullable

            One of:

            1. Option 1: StaticMessageTrackingParam
              • type#string
                Allowed values:
                • static

                Default: static

                Example: static

              • name#stringrequired
              • value#stringrequired
            2. Option 2: DynamicMessageTrackingParam
              • type#string
                Allowed values:
                • dynamic

                Default: dynamic

                Example: dynamic

              • name#stringrequired
              • value#stringrequired
        • send_options#object
          Show 7 fields
          • send_time#string<date-time>nullable

            The UTC send time for this message

            Example: 2022-11-08T00:00:00+00:00

          • send_times#objectnullable

            Per-variation send times, keyed by variation ID. Populated for send-time optimization and AB send time test strategies.

          • send_strategy#stringnullable

            The scheduling strategy for this message.

            Show 9 allowed values
            • ab_send_time_test
            • content_variation
            • content_variation_local_timezone
            • local_timezone
            • personalized_send_time_optimization
            • send_time_optimization
            • static
            • throttled
            • variation_per_second_throttled
          • recipient_percentage#integernullable

            The percentage of recipients to send this message to

          • throttling_type#stringnullable

            The throttling type for this message

            Allowed values:
            • none
            • throttle-for-campaigns
            • throttle-for-campaigns-and-flows
            • throttle-for-flows
          • throttle_unit#stringnullable

            The time unit each batch of recipients is sent over for throttled sends.

            Allowed values:
            • hour
            • minute
          • is_ignoring_unsubscribes#booleannullable

            Whether to ignore unsubscribes for this message

        • ab_test#object
          Show 3 fields
          • winner_metric#stringnullable

            The metric used to pick the winning variation.

            Allowed values:
            • clicks_unique
            • opens_unique
            • placed_orders_unique
          • winner_percentage#integernullable

            The percentage of the audience that receives the winning variation. The remainder is split evenly across the variations under test.

          • winner_wait_hours#integernullable

            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.

    • relationships#object
      Show 3 fields
      • campaign#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • campaign
          • id#stringrequired

            The parent campaign

      • campaign-audience#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • campaign-audience
          • id#stringrequired

            The audience this message targets

      • campaign-variations#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • campaign-variation
          • id#stringrequired

            The content variations for this message

  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

  • included#object[]
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • campaign
    • id#stringrequired

      The campaign ID

    • attributes#objectrequired
      Show 3 fields
      • created_at#string<date-time>nullable

        The datetime when the campaign was created

        Example: 2022-11-08T00:00:00+00:00

      • updated_at#string<date-time>nullable

        The datetime when the campaign was last updated

        Example: 2022-11-08T00:00:00+00:00

      • definition#objectrequired
        Show 6 fields
        • name#stringnullable

          The campaign name

        • builder#stringnullable

          Builder type: canvas or wizard

          Example: canvas

        • archived#booleannullable

          Whether the campaign has been archived

        • color#stringnullable

          Campaign display color as a hex string (e.g. 'ff5733')

        • description#stringnullable

          A short description of the campaign

        • send_settings#object
          Show 5 fields
          • send_timezone#stringnullable

            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#stringnullable

            Send strategy type. Writable values are 'timezone' and 'simple'; 'simple' requires send_timezone.

            Show 10 allowed values
            • content_variation
            • content_variation_local_timezone
            • personalized_send_time_optimization
            • send_time_optimization
            • simple
            • throttled
            • timezone
            • variation
            • variation_per_second_throttled
            • variation_send_time
          • send_passed_rltz_immediately#booleannullable

            Send to past-timezone recipients immediately

          • exit_condition_enabled#booleannullable

            Whether exit conditions are enabled for this campaign

          • exit_condition_conversion_metric_id#stringnullable

            The conversion metric ID used for exit conditions

    • relationships#object
      Show 3 fields
      • campaign-audiences#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • campaign-audience
          • id#stringrequired

            The audiences associated with the campaign

      • campaign-messages#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • campaign-message
          • id#stringrequired

            The messages associated with the campaign

      • tags#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • tag
          • id#stringrequired

            The tags associated with the campaign

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string