# Get Campaign

Returns a specific campaign based on a required id.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m`

**Scopes:**
`campaigns:read`

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Campaigns API",
    "version": "2025-01-15",
    "description": "The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.",
    "contact": {
      "name": "Klaviyo Developer Experience Team",
      "email": "developers@klaviyo.com",
      "url": "https://developers.klaviyo.com"
    },
    "termsOfService": "https://www.klaviyo.com/legal/api-terms",
    "license": {
      "name": "License",
      "url": "https://www.klaviyo.com/legal"
    }
  },
  "servers": [
    {
      "url": "https://a.klaviyo.com",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/campaigns/{id}": {
      "get": {
        "operationId": "get_campaign",
        "summary": "Get Campaign",
        "description": "Returns a specific campaign based on a required id.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m`\n\n**Scopes:**\n`campaigns:read`",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The campaign ID to be retrieved",
            "required": true,
            "schema": {
              "description": "The campaign ID to be retrieved",
              "type": "string"
            }
          },
          {
            "name": "fields[campaign-message]",
            "in": "query",
            "description": "For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sparse-fieldsets",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "definition",
                  "definition.channel",
                  "definition.label",
                  "definition.content",
                  "definition.content.subject",
                  "definition.content.preview_text",
                  "definition.content.from_email",
                  "definition.content.from_label",
                  "definition.content.reply_to_email",
                  "definition.content.cc_email",
                  "definition.content.bcc_email",
                  "definition.content.body",
                  "definition.content.media_url",
                  "definition.render_options",
                  "definition.render_options.shorten_links",
                  "definition.render_options.add_org_prefix",
                  "definition.render_options.add_info_link",
                  "definition.render_options.add_opt_out_language",
                  "definition.notification_type",
                  "definition.content.title",
                  "definition.content.dynamic_image",
                  "definition.kv_pairs",
                  "definition.options",
                  "definition.options.on_open",
                  "definition.options.on_open.type",
                  "definition.options.on_open.ios_deep_link",
                  "definition.options.on_open.android_deep_link",
                  "definition.options.badge",
                  "definition.options.badge.display",
                  "definition.options.badge.badge_options",
                  "definition.options.badge.badge_options.badge_config",
                  "definition.options.badge.badge_options.value",
                  "definition.options.badge.badge_options.set_from_property",
                  "definition.options.play_sound",
                  "send_times",
                  "created_at",
                  "updated_at"
                ]
              }
            },
            "explode": false
          },
          {
            "name": "fields[campaign]",
            "in": "query",
            "description": "For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sparse-fieldsets",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "name",
                  "status",
                  "archived",
                  "audiences",
                  "audiences.included",
                  "audiences.excluded",
                  "send_options",
                  "send_options.use_smart_sending",
                  "tracking_options",
                  "tracking_options.add_tracking_params",
                  "tracking_options.custom_tracking_params",
                  "tracking_options.is_tracking_clicks",
                  "tracking_options.is_tracking_opens",
                  "send_strategy",
                  "send_strategy.method",
                  "send_strategy.datetime",
                  "send_strategy.options",
                  "send_strategy.options.is_local",
                  "send_strategy.options.send_past_recipients_immediately",
                  "send_strategy.throttle_percentage",
                  "send_strategy.date",
                  "created_at",
                  "scheduled_at",
                  "updated_at",
                  "send_time"
                ]
              }
            },
            "explode": false
          },
          {
            "name": "fields[tag]",
            "in": "query",
            "description": "For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sparse-fieldsets",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "name"
                ]
              }
            },
            "explode": false
          },
          {
            "name": "include",
            "in": "query",
            "description": "For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#relationships",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "campaign-messages",
                  "tags"
                ]
              }
            },
            "explode": false
          },
          {
            "name": "revision",
            "in": "header",
            "description": "API endpoint revision (format: YYYY-MM-DD[.suffix])",
            "required": true,
            "schema": {
              "type": "string",
              "default": "2025-01-15"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCampaignResponseCompoundDocument"
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/ClientError"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "tags": [
          "Campaigns"
        ],
        "x-klaviyo-pre-release": "None",
        "x-klaviyo-ratelimit": {
          "burst": "10/s",
          "steady": "150/m"
        },
        "x-klaviyo-scopes": [
          "campaigns:read"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CampaignEnum": {
        "type": "string",
        "enum": [
          "campaign"
        ]
      },
      "CampaignMessageEnum": {
        "type": "string",
        "enum": [
          "campaign-message"
        ]
      },
      "TagEnum": {
        "type": "string",
        "enum": [
          "tag"
        ]
      },
      "TagResponseObjectResource": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/TagEnum"
          },
          "id": {
            "description": "The Tag ID",
            "type": "string",
            "example": "abcd1234-ef56-gh78-ij90-abcdef123456"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "name": {
                "description": "The Tag name",
                "type": "string",
                "example": "My Tag"
              }
            },
            "required": [
              "name"
            ]
          },
          "links": {
            "$ref": "#/components/schemas/ObjectLinks"
          }
        },
        "required": [
          "type",
          "id",
          "attributes",
          "links"
        ]
      },
      "EmailEnum": {
        "type": "string",
        "enum": [
          "email"
        ]
      },
      "SmsEnum": {
        "type": "string",
        "enum": [
          "sms"
        ]
      },
      "EmailContent": {
        "type": "object",
        "properties": {
          "subject": {
            "description": "The subject of the message",
            "type": "string",
            "example": "Buy our product!"
          },
          "preview_text": {
            "description": "Preview text associated with the message",
            "type": "string",
            "example": "My preview text"
          },
          "from_email": {
            "description": "The email the message should be sent from",
            "type": "string",
            "example": "store@my-company.com"
          },
          "from_label": {
            "description": "The label associated with the from_email",
            "type": "string",
            "example": "My Company"
          },
          "reply_to_email": {
            "description": "Optional Reply-To email address",
            "type": "string",
            "example": "reply-to@my-company.com"
          },
          "cc_email": {
            "description": "Optional CC email address",
            "type": "string",
            "example": "cc@my-company.com"
          },
          "bcc_email": {
            "description": "Optional BCC email address",
            "type": "string",
            "example": "bcc@my-company.com"
          }
        }
      },
      "EmailMessageDefinition": {
        "type": "object",
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/EmailEnum"
          },
          "label": {
            "description": "The label or name on the message",
            "type": "string",
            "example": "My message name"
          },
          "content": {
            "$ref": "#/components/schemas/EmailContent",
            "description": "Additional attributes relating to the content of the message"
          }
        },
        "required": [
          "channel"
        ]
      },
      "SMSContent": {
        "type": "object",
        "properties": {
          "body": {
            "description": "The message body",
            "type": "string",
            "example": "My preview sms"
          },
          "media_url": {
            "description": "URL for included media",
            "type": "string"
          }
        }
      },
      "RenderOptions": {
        "type": "object",
        "properties": {
          "shorten_links": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "add_org_prefix": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "add_info_link": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "add_opt_out_language": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "SMSMessageDefinition": {
        "type": "object",
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/SmsEnum"
          },
          "content": {
            "$ref": "#/components/schemas/SMSContent",
            "description": "Additional attributes relating to the content of the message"
          },
          "render_options": {
            "description": "Additional options for rendering the message",
            "$ref": "#/components/schemas/RenderOptions"
          }
        },
        "required": [
          "channel"
        ]
      },
      "Mobile_pushEnum": {
        "type": "string",
        "enum": [
          "mobile_push"
        ]
      },
      "StandardEnum": {
        "type": "string",
        "enum": [
          "standard"
        ]
      },
      "MobilePushContent": {
        "type": "object",
        "properties": {
          "title": {
            "description": "The title of the message",
            "type": "string"
          },
          "body": {
            "description": "The message body",
            "type": "string",
            "example": "My preview push notification"
          },
          "dynamic_image": {
            "description": "The dynamic image to be used in the push notification",
            "type": "string"
          }
        }
      },
      "Open_appEnum": {
        "type": "string",
        "enum": [
          "open_app"
        ]
      },
      "PushOnOpenApp": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Open_appEnum"
          }
        },
        "required": [
          "type"
        ]
      },
      "Deep_linkEnum": {
        "type": "string",
        "enum": [
          "deep_link"
        ]
      },
      "PushOnOpenDeepLink": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Deep_linkEnum"
          },
          "ios_deep_link": {
            "description": "required for all platforms enabled for push",
            "type": "string"
          },
          "android_deep_link": {
            "description": "required for all platforms enabled for push",
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "Increment": {
        "type": "object",
        "properties": {
          "badge_config": {
            "enum": [
              "increment_one"
            ]
          }
        },
        "required": [
          "badge_config"
        ]
      },
      "StaticCount": {
        "type": "object",
        "properties": {
          "badge_config": {
            "enum": [
              "set_count"
            ]
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "badge_config",
          "value"
        ]
      },
      "Property": {
        "type": "object",
        "properties": {
          "badge_config": {
            "enum": [
              "set_property"
            ]
          },
          "set_from_property": {
            "type": "string"
          }
        },
        "required": [
          "badge_config",
          "set_from_property"
        ]
      },
      "MobilePushBadge": {
        "type": "object",
        "properties": {
          "display": {
            "description": "Whether to display a badge on the app icon",
            "enum": [
              true
            ]
          },
          "badge_options": {
            "description": "Badge options",
            "oneOf": [
              {
                "$ref": "#/components/schemas/Increment"
              },
              {
                "$ref": "#/components/schemas/StaticCount"
              },
              {
                "$ref": "#/components/schemas/Property"
              }
            ]
          }
        },
        "required": [
          "display"
        ]
      },
      "MobilePushNoBadge": {
        "type": "object",
        "properties": {
          "display": {
            "description": "Whether to display a badge on the app icon",
            "enum": [
              false
            ]
          }
        },
        "required": [
          "display"
        ]
      },
      "MobilePushOptions": {
        "type": "object",
        "properties": {
          "on_open": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/PushOnOpenApp"
              },
              {
                "$ref": "#/components/schemas/PushOnOpenDeepLink"
              }
            ]
          },
          "badge": {
            "description": "Only supported on iOS.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/MobilePushBadge"
              },
              {
                "$ref": "#/components/schemas/MobilePushNoBadge"
              }
            ]
          },
          "play_sound": {
            "description": "Only supported on iOS.",
            "type": "boolean",
            "default": false
          }
        }
      },
      "MobilePushMessageStandardDefinition": {
        "type": "object",
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/Mobile_pushEnum"
          },
          "notification_type": {
            "description": "The type of notification to send",
            "$ref": "#/components/schemas/StandardEnum"
          },
          "content": {
            "$ref": "#/components/schemas/MobilePushContent",
            "description": "Additional attributes relating to the content of the message"
          },
          "kv_pairs": {
            "description": "The key-value pairs to be sent with the push notification",
            "type": "object"
          },
          "options": {
            "$ref": "#/components/schemas/MobilePushOptions"
          }
        },
        "required": [
          "channel",
          "notification_type",
          "content"
        ]
      },
      "SilentEnum": {
        "type": "string",
        "enum": [
          "silent"
        ]
      },
      "MobilePushMessageSilentDefinition": {
        "type": "object",
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/Mobile_pushEnum"
          },
          "notification_type": {
            "description": "The type of notification to send",
            "$ref": "#/components/schemas/SilentEnum"
          },
          "kv_pairs": {
            "description": "The key-value pairs to be sent with the push notification",
            "type": "object"
          }
        },
        "required": [
          "channel",
          "notification_type"
        ]
      },
      "SendTime": {
        "type": "object",
        "properties": {
          "datetime": {
            "description": "The datetime that the message is to be sent",
            "type": "string",
            "format": "date-time",
            "example": "2022-11-08T00:00:00+00:00"
          },
          "is_local": {
            "description": "Whether that datetime is to be a local datetime for the recipient",
            "type": "boolean"
          }
        },
        "required": [
          "datetime",
          "is_local"
        ]
      },
      "CampaignMessageResponseObjectResource": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/CampaignMessageEnum"
          },
          "id": {
            "description": "The message ID",
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "definition": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailMessageDefinition"
                  },
                  {
                    "$ref": "#/components/schemas/SMSMessageDefinition"
                  },
                  {
                    "$ref": "#/components/schemas/MobilePushMessageStandardDefinition"
                  },
                  {
                    "$ref": "#/components/schemas/MobilePushMessageSilentDefinition"
                  }
                ]
              },
              "send_times": {
                "description": "The list of appropriate Send Time Sub-objects associated with the message",
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SendTime"
                }
              },
              "created_at": {
                "description": "The datetime when the message was created",
                "type": "string",
                "format": "date-time",
                "example": "2022-11-08T00:00:00+00:00"
              },
              "updated_at": {
                "description": "The datetime when the message was last updated",
                "type": "string",
                "format": "date-time",
                "example": "2022-11-08T00:00:00+00:00"
              }
            }
          },
          "links": {
            "$ref": "#/components/schemas/ObjectLinks"
          }
        },
        "required": [
          "type",
          "id",
          "attributes",
          "links"
        ]
      },
      "Audiences": {
        "type": "object",
        "properties": {
          "included": {
            "description": "A list of included audiences",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "Y6nRLr"
            ]
          },
          "excluded": {
            "description": "An optional list of excluded audiences",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "UTd5ui"
            ]
          }
        },
        "required": [
          "included"
        ]
      },
      "EmailSendOptions": {
        "type": "object",
        "properties": {
          "use_smart_sending": {
            "description": "Use smart sending.",
            "type": "boolean",
            "example": true,
            "default": true
          }
        }
      },
      "SMSSendOptions": {
        "type": "object",
        "properties": {
          "use_smart_sending": {
            "description": "Use smart sending.",
            "type": "boolean",
            "example": true,
            "default": true
          }
        }
      },
      "PushSendOptions": {
        "type": "object",
        "properties": {
          "use_smart_sending": {
            "description": "Use smart sending.",
            "type": "boolean",
            "example": true,
            "default": true
          }
        }
      },
      "DynamicEnum": {
        "type": "string",
        "enum": [
          "dynamic"
        ]
      },
      "DynamicTrackingParam": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The type of the tracking parameter",
            "$ref": "#/components/schemas/DynamicEnum"
          },
          "value": {
            "description": "The value of the tracking parameter",
            "type": "string",
            "enum": [
              "campaign_id",
              "campaign_name",
              "campaign_name_id",
              "campaign_name_send_day",
              "email_subject",
              "group_id",
              "group_name",
              "group_name_id",
              "link_alt_text",
              "message_type",
              "profile_external_id",
              "profile_id"
            ]
          },
          "name": {
            "description": "Name of the tracking param",
            "type": "string",
            "example": "utm_medium"
          }
        },
        "required": [
          "type",
          "value",
          "name"
        ]
      },
      "StaticEnum": {
        "type": "string",
        "enum": [
          "static"
        ]
      },
      "StaticTrackingParam": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The type of the tracking parameter",
            "$ref": "#/components/schemas/StaticEnum"
          },
          "value": {
            "description": "The value of the tracking parameter",
            "type": "string"
          },
          "name": {
            "description": "Name of the tracking param",
            "type": "string",
            "example": "utm_medium"
          }
        },
        "required": [
          "type",
          "value",
          "name"
        ]
      },
      "CampaignsEmailTrackingOptions": {
        "type": "object",
        "properties": {
          "add_tracking_params": {
            "description": "Whether the campaign needs custom tracking parameters. If set to False, tracking params will not be used.",
            "type": "boolean"
          },
          "custom_tracking_params": {
            "description": "A list of custom tracking parameters. If an empty list is given and add_tracking_params is True, uses company defaults.",
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/DynamicTrackingParam"
                },
                {
                  "$ref": "#/components/schemas/StaticTrackingParam"
                }
              ]
            }
          },
          "is_tracking_clicks": {
            "description": "Whether the campaign is tracking click events. If not specified, uses company defaults.",
            "type": "boolean"
          },
          "is_tracking_opens": {
            "description": "Whether the campaign is tracking open events. If not specified, uses company defaults.",
            "type": "boolean"
          }
        }
      },
      "CampaignsSMSTrackingOptions": {
        "type": "object",
        "properties": {
          "add_tracking_params": {
            "description": "Whether the campaign needs custom tracking parameters. If set to False, tracking params will not be used.",
            "type": "boolean"
          },
          "custom_tracking_params": {
            "description": "A list of custom tracking parameters. If an empty list is given and add_tracking_params is True, uses company defaults.",
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/DynamicTrackingParam"
                },
                {
                  "$ref": "#/components/schemas/StaticTrackingParam"
                }
              ]
            }
          }
        }
      },
      "LocalStaticSend": {
        "type": "object",
        "properties": {
          "is_local": {
            "description": "Whether the campaign should be sent with local recipient timezone send (requires UTC time) or statically sent at the given time.",
            "enum": [
              true
            ]
          },
          "send_past_recipients_immediately": {
            "description": "Determines if we should send to local recipient timezone if the given time has passed. Only applicable to local sends.",
            "type": "boolean",
            "default": false
          }
        },
        "required": [
          "is_local"
        ]
      },
      "NonLocalStaticSend": {
        "type": "object",
        "properties": {
          "is_local": {
            "description": "Whether the campaign should be sent with local recipient timezone send (requires UTC time) or statically sent at the given time.",
            "enum": [
              false
            ]
          }
        },
        "required": [
          "is_local"
        ]
      },
      "StaticSendStrategy": {
        "type": "object",
        "properties": {
          "method": {
            "$ref": "#/components/schemas/StaticEnum"
          },
          "datetime": {
            "description": "The time to send at",
            "type": "string",
            "format": "date-time",
            "example": "2022-11-08T00:00:00+00:00"
          },
          "options": {
            "description": "If the campaign should be sent with local recipient timezone send (requires UTC time) or statically sent at the given time.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/LocalStaticSend"
              },
              {
                "$ref": "#/components/schemas/NonLocalStaticSend"
              }
            ]
          }
        },
        "required": [
          "method",
          "datetime"
        ]
      },
      "ThrottledEnum": {
        "type": "string",
        "enum": [
          "throttled"
        ]
      },
      "ThrottledSendStrategy": {
        "type": "object",
        "properties": {
          "method": {
            "$ref": "#/components/schemas/ThrottledEnum"
          },
          "datetime": {
            "description": "The time to send at",
            "type": "string",
            "format": "date-time"
          },
          "throttle_percentage": {
            "description": "The percentage of recipients per hour to send to.",
            "type": "integer",
            "enum": [
              10,
              11,
              13,
              14,
              17,
              20,
              25,
              33,
              50
            ]
          }
        },
        "required": [
          "method",
          "datetime",
          "throttle_percentage"
        ]
      },
      "ImmediateEnum": {
        "type": "string",
        "enum": [
          "immediate"
        ]
      },
      "ImmediateSendStrategy": {
        "type": "object",
        "properties": {
          "method": {
            "$ref": "#/components/schemas/ImmediateEnum"
          }
        },
        "required": [
          "method"
        ]
      },
      "Smart_send_timeEnum": {
        "type": "string",
        "enum": [
          "smart_send_time"
        ]
      },
      "SmartSendTimeStrategy": {
        "type": "object",
        "properties": {
          "method": {
            "$ref": "#/components/schemas/Smart_send_timeEnum"
          },
          "date": {
            "description": "The day to send on",
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "method",
          "date"
        ]
      },
      "Ab_test_campaignEnum": {
        "type": "string",
        "enum": [
          "ab_test_campaign"
        ]
      },
      "ABTestSendStrategy": {
        "type": "object",
        "properties": {
          "method": {
            "$ref": "#/components/schemas/Ab_test_campaignEnum"
          }
        },
        "required": [
          "method"
        ]
      },
      "UnsupportedEnum": {
        "type": "string",
        "enum": [
          "unsupported"
        ]
      },
      "UnsupportedSendStrategy": {
        "type": "object",
        "properties": {
          "method": {
            "$ref": "#/components/schemas/UnsupportedEnum"
          }
        },
        "required": [
          "method"
        ]
      },
      "CampaignResponseObjectResource": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/CampaignEnum"
          },
          "id": {
            "description": "The campaign ID",
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "name": {
                "description": "The campaign name",
                "type": "string"
              },
              "status": {
                "description": "The current status of the campaign",
                "type": "string",
                "enum": [
                  "Adding Recipients",
                  "Cancelled",
                  "Cancelled: Account Disabled",
                  "Cancelled: Internal Error",
                  "Cancelled: No Recipients",
                  "Cancelled: Smart Sending",
                  "Draft",
                  "Preparing to schedule",
                  "Preparing to send",
                  "Queued without Recipients",
                  "Scheduled",
                  "Sending",
                  "Sending Segments",
                  "Sent",
                  "Unknown",
                  "Variations Sent"
                ]
              },
              "archived": {
                "description": "Whether the campaign has been archived or not",
                "type": "boolean"
              },
              "audiences": {
                "description": "The audiences to be included and/or excluded from the campaign",
                "$ref": "#/components/schemas/Audiences"
              },
              "send_options": {
                "description": "Options to use when sending a campaign",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailSendOptions"
                  },
                  {
                    "$ref": "#/components/schemas/SMSSendOptions"
                  },
                  {
                    "$ref": "#/components/schemas/PushSendOptions"
                  }
                ]
              },
              "tracking_options": {
                "description": "The tracking options associated with the campaign",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CampaignsEmailTrackingOptions"
                  },
                  {
                    "$ref": "#/components/schemas/CampaignsSMSTrackingOptions"
                  }
                ]
              },
              "send_strategy": {
                "description": "The send strategy the campaign will send with",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StaticSendStrategy"
                  },
                  {
                    "$ref": "#/components/schemas/ThrottledSendStrategy"
                  },
                  {
                    "$ref": "#/components/schemas/ImmediateSendStrategy"
                  },
                  {
                    "$ref": "#/components/schemas/SmartSendTimeStrategy"
                  },
                  {
                    "$ref": "#/components/schemas/ABTestSendStrategy"
                  },
                  {
                    "$ref": "#/components/schemas/UnsupportedSendStrategy"
                  }
                ]
              },
              "created_at": {
                "description": "The datetime when the campaign was created",
                "type": "string",
                "format": "date-time",
                "example": "2022-11-08T00:00:00+00:00"
              },
              "scheduled_at": {
                "description": "The datetime when the campaign was scheduled for future sending",
                "type": "string",
                "format": "date-time",
                "example": "2022-11-08T00:00:00+00:00"
              },
              "updated_at": {
                "description": "The datetime when the campaign was last updated by a user or the system",
                "type": "string",
                "format": "date-time",
                "example": "2022-11-08T00:00:00+00:00"
              },
              "send_time": {
                "description": "The datetime when the campaign will be / was sent or None if not yet scheduled by a send_job.",
                "type": "string",
                "format": "date-time",
                "example": "2022-11-08T00:00:00+00:00"
              }
            },
            "required": [
              "name",
              "status",
              "archived",
              "audiences",
              "send_options",
              "send_strategy",
              "created_at",
              "updated_at"
            ]
          },
          "links": {
            "$ref": "#/components/schemas/ObjectLinks"
          }
        },
        "required": [
          "type",
          "id",
          "attributes",
          "links"
        ]
      },
      "GetCampaignResponseCompoundDocument": {
        "type": "object",
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CampaignResponseObjectResource"
              },
              {
                "properties": {
                  "relationships": {
                    "type": "object",
                    "properties": {
                      "campaign-messages": {
                        "type": "object",
                        "properties": {
                          "data": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "type",
                                "id"
                              ],
                              "properties": {
                                "type": {
                                  "$ref": "#/components/schemas/CampaignMessageEnum"
                                },
                                "id": {
                                  "description": "The message(s) associated with the campaign",
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "links": {
                            "$ref": "#/components/schemas/RelationshipLinks"
                          }
                        }
                      },
                      "tags": {
                        "type": "object",
                        "properties": {
                          "data": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "type",
                                "id"
                              ],
                              "properties": {
                                "type": {
                                  "$ref": "#/components/schemas/TagEnum"
                                },
                                "id": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "links": {
                            "$ref": "#/components/schemas/RelationshipLinks"
                          }
                        }
                      }
                    }
                  }
                }
              }
            ]
          },
          "included": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CampaignMessageResponseObjectResource"
                },
                {
                  "$ref": "#/components/schemas/TagResponseObjectResource"
                }
              ]
            }
          }
        },
        "required": [
          "data"
        ]
      },
      "RelationshipLinks": {
        "type": "object",
        "properties": {
          "self": {
            "type": "string",
            "format": "uri"
          },
          "related": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "self",
          "related"
        ]
      },
      "ObjectLinks": {
        "type": "object",
        "properties": {
          "self": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "self"
        ]
      }
    },
    "responses": {
      "ClientError": {
        "description": "Client Error",
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "type": "object",
              "properties": {
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "code",
                      "title",
                      "detail"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "code": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "string"
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "pointer": {
                            "type": "string"
                          },
                          "parameter": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "required": [
                "errors"
              ]
            }
          }
        }
      },
      "ServerError": {
        "description": "Server Error",
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "type": "object",
              "properties": {
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "code",
                      "title",
                      "detail"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "code": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "string"
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "pointer": {
                            "type": "string"
                          },
                          "parameter": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "required": [
                "errors"
              ]
            }
          }
        }
      }
    },
    "securitySchemes": {
      "Klaviyo-API-Key": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Private key authentication for /api/ endpoints is performed by setting the `Authorization` header to `Klaviyo-API-Key your-private-api-key`<br>For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#authentication",
        "x-default": "Klaviyo-API-Key your-private-api-key"
      }
    }
  },
  "tags": [
    {
      "name": "Campaigns"
    }
  ],
  "security": [
    {
      "Klaviyo-API-Key": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 226,
      "2": 175,
      "3": 88,
      "4": 45,
      "5": 92,
      "6": 183,
      "7": 0,
      "8": 55,
      "9": 12,
      "10": 62,
      "11": 77
    }
  }
}
```