Skip to content

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

KlaviyoKlaviyoDevelopers
v2024-02-15

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

Get Profile Segments

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

Get segment memberships for a profile with the given profile ID.

Revision header
revision: 2024-02-15required
Scopes
profiles:readsegments:read
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[segment]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • created
    • updated
    • is_active
    • is_processing
    • is_starred

Headers

  • revision#stringrequired

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

    2024-02-15

Responses

200Success

Content type: application/json

  • data#object[]required
    Show 5 fields
    • relationships#object
      Show 2 fields
      • profiles#object
        Show 1 field
      • tags#object
        Show 1 field
    • type#stringrequired
      Allowed values:
      • segment
    • id#stringrequired
    • attributes#objectrequired
      Show 6 fields
      • name#stringnullable

        A helpful name to label the segment

        Example: Repeat Purchasers

      • created#string<date-time>nullable

        Date and time when the segment 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 segment was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

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

      • is_active#booleanrequired
      • is_processing#booleanrequired
      • is_starred#booleanrequired

4XXClient Error

Content type: application/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/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string