# Get Campaign Recipients

Returns summary information about email recipients for the campaign specified that includes each recipients email, customer ID, and status.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "version": "2022.03.29",
    "title": "Klaviyo API",
    "description": "Empowering creators to own their destiny"
  },
  "servers": [
    {
      "description": "Production",
      "url": "https://a.klaviyo.com/api"
    }
  ],
  "tags": [
    {
      "name": "Campaigns",
      "description": "retrieve and update campaigns"
    }
  ],
  "paths": {
    "/v1/campaign/{campaign_id}/recipients": {
      "get": {
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "tags": [
          "Campaigns"
        ],
        "operationId": "get-campaign-recipients",
        "summary": "Get Campaign Recipients",
        "description": "Returns summary information about email recipients for the campaign specified that includes each recipients email, customer ID, and status.",
        "parameters": [
          {
            "name": "campaign_id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string",
              "example": "CAMPAIGN_ID",
              "default": "CAMPAIGN_ID"
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "For pagination, the number of results to return. Max = 25,000",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 25000,
              "default": 5000,
              "example": 25000
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort order to apply to results, either ascending or descending. Valid values are `asc` or `desc`. Defaults to `asc`.",
            "schema": {
              "type": "string",
              "example": "asc",
              "default": "asc"
            }
          },
          {
            "name": "offset",
            "required": false,
            "in": "query",
            "description": "For pagination, if a response to this endpoint includes a `next_offset`, use that value to get the next page of recipients.",
            "schema": {
              "type": "string",
              "example": "next_offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of dictionaries with keys status, email, customer_id and variation_id for each email recipient.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "count": {
                      "type": "integer",
                      "example": 1
                    },
                    "data": {
                      "type": "array",
                      "minItems": 0,
                      "maxItems": 25000,
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "email": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "customer_id": {
                            "type": "string"
                          },
                          "variation_id": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      }
                    },
                    "next_offset": {
                      "type": "string",
                      "example": "NEXT_OFFSET"
                    }
                  }
                },
                "example": {
                  "count": 1,
                  "data": [
                    {
                      "email": "abraham.lincoln@klaviyo.com",
                      "status": "Sent",
                      "customer_id": "PROFILE_ID",
                      "variation_id": null
                    }
                  ],
                  "next_offset": "NEXT_OFFSET"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key",
        "x-default": "PRIVATE_API_KEY"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "javascript",
      "node",
      "php",
      "python",
      "ruby"
    ],
    "explorer-enabled": false,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 187,
      "2": 133,
      "3": 149,
      "4": 99,
      "5": 231,
      "6": 162,
      "7": 0,
      "8": 15,
      "9": 118,
      "10": 42,
      "11": 112
    }
  }
}
```