Skip to main content
GET
List Customer's Segments

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

customerId
string
required

Unique identifier of a customer represented by an internal customer ID or customer source ID.

Example:

"cust_nk0N1uNQ1YnupAoJGOgvsODC"

Response

200 - application/json

The method returns segment(s) to which the given customer belongs to.

Response body schema for GET v1/customers/{customerId}/segments.

object
string
default:list
required

The type of the object represented by JSON. This object stores information about customer segments.

data_ref
string
default:data
required

Identifies the name of the JSON property that contains the array of segment IDs.

data
Simple Segment · object[]
required

A dictionary that contains an array of segment IDs and names.

total
integer
required

Total number of segments the customer belongs to.

Last modified on June 11, 2026