---
title: "Get Profiles for Segment"
description: "How to call Get Profiles for Segment (GET /api/segments/{id}/profiles) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/get_profiles_for_segment"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_profiles_for_segment"
operationId: "get_profiles_for_segment"
aliases: ["get_segment_profiles"]
method: "GET"
endpoint: "https://a.klaviyo.com/api/segments/{id}/profiles"
authentication: "privateKey"
scopes: ["profiles:read","segments:read"]
rateLimits: {"burst":"75/s","steady":"700/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"fields":{"profile":["email","phone_number","external_id","first_name","last_name","organization","locale","title","image","created","updated","last_event_date","location","location.address1","location.address2","location.city","location.country","location.latitude","location.longitude","location.region","location.zip","location.timezone","location.ip","properties","joined_group_at","subscriptions","subscriptions.email","subscriptions.email.marketing","subscriptions.email.marketing.can_receive_email_marketing","subscriptions.email.marketing.consent","subscriptions.email.marketing.consent_timestamp","subscriptions.email.marketing.last_updated","subscriptions.email.marketing.method","subscriptions.email.marketing.method_detail","subscriptions.email.marketing.custom_method_detail","subscriptions.email.marketing.double_optin","subscriptions.email.marketing.suppression","subscriptions.email.marketing.list_suppressions","subscriptions.sms","subscriptions.sms.marketing","subscriptions.sms.marketing.can_receive_sms_marketing","subscriptions.sms.marketing.consent","subscriptions.sms.marketing.consent_timestamp","subscriptions.sms.marketing.method","subscriptions.sms.marketing.method_detail","subscriptions.sms.marketing.last_updated","subscriptions.sms.transactional","subscriptions.sms.transactional.can_receive_sms_transactional","subscriptions.sms.transactional.consent","subscriptions.sms.transactional.consent_timestamp","subscriptions.sms.transactional.method","subscriptions.sms.transactional.method_detail","subscriptions.sms.transactional.last_updated","subscriptions.mobile_push","subscriptions.mobile_push.marketing","subscriptions.mobile_push.marketing.can_receive_push_marketing","subscriptions.mobile_push.marketing.consent","subscriptions.mobile_push.marketing.consent_timestamp","predictive_analytics","predictive_analytics.historic_clv","predictive_analytics.predicted_clv","predictive_analytics.total_clv","predictive_analytics.historic_number_of_orders","predictive_analytics.predicted_number_of_orders","predictive_analytics.average_days_between_orders","predictive_analytics.average_order_value","predictive_analytics.churn_probability","predictive_analytics.expected_date_of_next_order"]},"additionalFields":{"profile":["subscriptions","predictive_analytics"]},"sort":["joined_group_at","-joined_group_at"],"pagination":{"style":"cursor","defaultPageSize":"20"}}
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/segments/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_segments.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/update_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_tags_for_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_tag_ids_for_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_profile_ids_for_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flows_triggered_by_segment.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_ids_for_flows_triggered_by_segment.md"]
---

# Get Profiles for Segment

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/get_profiles_for_segment

```http
GET https://a.klaviyo.com/api/segments/{id}/profiles
```

Get all profiles within a segment with the given segment ID.

Filter to request a subset of all profiles. Profiles can be filtered by `email`, `phone_number`, `push_token`, and `joined_group_at` fields. Profiles can be sorted by the following fields, in ascending and descending order: `joined_group_at`

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `profiles:read`, `segments:read`
- Rate limits: Burst: `75/s`, Steady: `700/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/segments/Y6nRLr/profiles' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15'
```

## Path parameters

- `id` (string, required): Primary key that uniquely identifies this segment. Generated by Klaviyo. Example: `Y6nRLr`

## Query parameters

- `additional-fields[profile]` (string[]): Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' Allowed values: `subscriptions`, `predictive_analytics`
- `fields[profile]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `email`, `phone_number`, `external_id`, `first_name`, `last_name`, `organization`, `locale`, `title`, `image`, `created`, `updated`, `last_event_date`, `location`, `location.address1`, `location.address2`, `location.city`, `location.country`, `location.latitude`, `location.longitude`, `location.region`, `location.zip`, `location.timezone`, `location.ip`, `properties`, `joined_group_at`, `subscriptions`, `subscriptions.email`, `subscriptions.email.marketing`, `subscriptions.email.marketing.can_receive_email_marketing`, `subscriptions.email.marketing.consent`, `subscriptions.email.marketing.consent_timestamp`, `subscriptions.email.marketing.last_updated`, `subscriptions.email.marketing.method`, `subscriptions.email.marketing.method_detail`, `subscriptions.email.marketing.custom_method_detail`, `subscriptions.email.marketing.double_optin`, `subscriptions.email.marketing.suppression`, `subscriptions.email.marketing.list_suppressions`, `subscriptions.sms`, `subscriptions.sms.marketing`, `subscriptions.sms.marketing.can_receive_sms_marketing`, `subscriptions.sms.marketing.consent`, `subscriptions.sms.marketing.consent_timestamp`, `subscriptions.sms.marketing.method`, `subscriptions.sms.marketing.method_detail`, `subscriptions.sms.marketing.last_updated`, `subscriptions.sms.transactional`, `subscriptions.sms.transactional.can_receive_sms_transactional`, `subscriptions.sms.transactional.consent`, `subscriptions.sms.transactional.consent_timestamp`, `subscriptions.sms.transactional.method`, `subscriptions.sms.transactional.method_detail`, `subscriptions.sms.transactional.last_updated`, `subscriptions.mobile_push`, `subscriptions.mobile_push.marketing`, `subscriptions.mobile_push.marketing.can_receive_push_marketing`, `subscriptions.mobile_push.marketing.consent`, `subscriptions.mobile_push.marketing.consent_timestamp`, `predictive_analytics`, `predictive_analytics.historic_clv`, `predictive_analytics.predicted_clv`, `predictive_analytics.total_clv`, `predictive_analytics.historic_number_of_orders`, `predictive_analytics.predicted_number_of_orders`, `predictive_analytics.average_days_between_orders`, `predictive_analytics.average_order_value`, `predictive_analytics.churn_probability`, `predictive_analytics.expected_date_of_next_order`
- `filter` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md)\
  Allowed field(s)/operator(s):\
  `email`: `any`, `equals`\
  `phone_number`: `any`, `equals`\
  `push_token`: `any`, `equals`\
  `_kx`: `equals`\
  `joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` Example: `equals(email,['example'])`
- `page[cursor]` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md)
- `page[size]` (integer): Default: 20. Min: 1. Max: 100.
- `sort` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `joined_group_at`, `-joined_group_at`

## Headers

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

## Responses

### 200: Success

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

- `data` (object[], required)
  - `type` (string, required): Allowed values: `profile`
  - `attributes` (object, required)
    - `email` (string, nullable): Individual's email address Example: `sarah.mason@klaviyo-demo.com`
    - `phone_number` (string, nullable): Individual's phone number in E.164 format Example: `+15005550006`
    - `external_id` (string, nullable): A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.
    - `first_name` (string, nullable): Individual's first name Example: `Sarah`
    - `last_name` (string, nullable): Individual's last name Example: `Mason`
    - `organization` (string, nullable): Name of the company or organization within the company for whom the individual works Example: `Example Corporation`
    - `locale` (string, nullable): The locale of the profile, in the IETF BCP 47 language tag format like (ISO 639-1/2)-(ISO 3166 alpha-2) Example: `en-US`
    - `title` (string, nullable): Individual's job title Example: `Regional Manager`
    - `image` (string, nullable): URL pointing to the location of a profile image Example: `https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg`
    - `created` (string<date-time>, nullable): Date and time when the profile was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T00:00:00+00:00`
    - `updated` (string<date-time>, nullable): Date and time when the profile was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T00:00:00+00:00`
    - `last_event_date` (string<date-time>, nullable): Date and time of the most recent event the triggered an update to the profile, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T00:00:00+00:00`
    - `location` (object)
      - `address1` (string, nullable): First line of street address Example: `89 E 42nd St`
      - `address2` (string, nullable): Second line of street address Example: `1st floor`
      - `city` (string, nullable): City name Example: `New York`
      - `country` (string, nullable): Country name Example: `United States`
      - `latitude` (string | number, nullable): Latitude coordinate. We recommend providing a precision of four decimal places. Example: `40.7128`
      - `longitude` (string | number, nullable): Longitude coordinate. We recommend providing a precision of four decimal places. Example: `74.0060`
      - `region` (string, nullable): Region within a country, such as state or province Example: `NY`
      - `zip` (string, nullable): Zip code Example: `10017`
      - `timezone` (string, nullable): Time zone name. We recommend using time zones from the IANA Time Zone Database. Example: `America/New_York`
      - `ip` (string, nullable): IP Address Example: `127.0.0.1`
    - `properties` (object, nullable): An object containing key/value pairs for any custom properties assigned to this profile
    - `joined_group_at` (string<date-time>, required): The datetime when this profile most recently joined the segment. Example: `2022-11-08T00:00:00+00:00`
  - `relationships` (object)
    - `lists` (object)
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `segments` (object)
      - `links` (RelationshipLinks): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `push-tokens` (object)
      - `links` (RelationshipLinks): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `id` (string, nullable): Primary key that uniquely identifies this profile. Generated by Klaviyo. Example: `01GDDKASAP8TKDDA2GRZDSVP4H`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `first` (string<uri>)
  - `last` (string<uri>)
  - `prev` (string<uri>)
  - `next` (string<uri>)

#### Example response body

```json
{
  "data": [
    {
      "type": "profile",
      "attributes": {
        "email": "sarah.mason@klaviyo-demo.com",
        "phone_number": "+15005550006",
        "external_id": "string",
        "first_name": "Sarah",
        "last_name": "Mason",
        "organization": "Example Corporation",
        "locale": "en-US",
        "title": "Regional Manager",
        "image": "https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg",
        "created": "2022-11-08T00:00:00+00:00",
        "updated": "2022-11-08T00:00:00+00:00",
        "last_event_date": "2022-11-08T00:00:00+00:00",
        "location": {
          "address1": "89 E 42nd St",
          "address2": "1st floor",
          "city": "New York",
          "country": "United States",
          "latitude": "40.7128",
          "longitude": "74.0060",
          "region": "NY",
          "zip": "10017",
          "timezone": "America/New_York",
          "ip": "127.0.0.1"
        },
        "properties": {
          "pseudonym": "Dr. Octopus"
        },
        "joined_group_at": "2022-11-08T00:00:00+00:00"
      },
      "relationships": {
        "lists": {
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "segments": {
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "push-tokens": {
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        }
      },
      "id": "01GDDKASAP8TKDDA2GRZDSVP4H",
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "first": "https://www.example.com",
    "last": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  }
}
```

### 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"
      }
    }
  ]
}
```
