Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_profile_ids_for_segment.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

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

Get Profile IDs for Segment

GEThttps://a.klaviyo.com/api/segments/{id}/relationships/profiles

Get all profile membership relationships for the given segment ID.

Revision header
revision: 2025-01-15required
Scopes
profiles:readsegments:read
Rate limits
Burst: 75/sSteady: 700/m

Path parameters

  • id#stringrequired

    Primary key that uniquely identifies this segment. Generated by Klaviyo.

    Example: Y6nRLr

Query parameters

  • filter#string

    For more information please visit API overview
    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

  • page[size]#integer

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

  • sort#string

    For more information please visit API overview

    Allowed values:
    • joined_group_at
    • -joined_group_at

Headers

  • revision#stringrequired

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

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • profile
    • id#stringrequired

      Primary key that uniquely identifies this profile. Generated by Klaviyo.

      Example: 01GDDKASAP8TKDDA2GRZDSVP4H

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