Skip to content

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

KlaviyoKlaviyoDevelopers
v2026-07-15

This endpoint is in beta. Call it with the revision header 2026-07-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Campaign

GEThttps://a.klaviyo.com/api/campaigns/{id}

Get a campaign by ID.

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

Path parameters

  • id#stringrequired

    The campaign ID to be retrieved

Query parameters

  • fields[campaign-audience]#string[]

    For more information please visit API overview

    Allowed values:
    • created
    • definition
    • definition.excluded
    • definition.included
    • definition.name
    • definition.priority
    • id
    • updated
  • fields[campaign-message]#string[]

    For more information please visit API overview

    Show 18 allowed values
    • created
    • definition
    • 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
    • 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
  • include#string[]

    For more information please visit API overview

    Allowed values:
    • campaign-audiences
    • campaign-messages

Headers

  • revision#stringrequired

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

    2026-07-15.pre

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    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)

          • send_strategy#stringnullable

            Send strategy type

          • 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

  • included#oneOf[]

    One of:

    1. Option 1: MessageResponseObjectResource
      • 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 4 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 3 fields
            • is_add_utm#booleannullable
            • is_tracking_clicks#booleannullable
            • is_tracking_opens#booleannullable
          • 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

      • 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

    2. Option 2: AudienceResponseObjectResource
      • type#stringrequired
        Allowed values:
        • campaign-audience
      • id#stringrequired

        The ID of the audience

        Example: 925e385b52fb405715f3616c337cc65c

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

          The datetime when this audience was created

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

        • updated#string<date-time>required

          The datetime when this audience was last updated

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

        • definition#objectrequired
          Show 4 fields
          • name#stringnullable

            The name of the audience

            Example: My Audience

          • included#string[]nullable

            The list of included group IDs

          • excluded#string[]nullable

            The list of excluded group IDs

          • priority#integernullable

            The priority of the audience

            Example: 1

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

              Related Campaign

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

              Related Campaign Messages

  • 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

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