v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Customers

Get a collection of segment records

Get information about all segment records on a customer account.

Segments are groupings of customers based on shared attributes or behaviour, used for targeted marketing and personalisation. This endpoint returns all segment memberships currently recorded on the customer account.

Related: GET /segments

get/customers/{customer_id}/segment-records

Path parameters

customer_idstring required

The unique ID of the customer.

Query parameters

segment_group_idsstring[]

List of the segment group IDs from the resource GET /segment-groups. In case you want to filter multiple options use array syntax : segment_group_ids[]=8bed991c68a470e7aaeffbf048&segment_group_ids[]=9cfe0a2d79b581f8bb5ffc059 Logic OR is used between values.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Response

OK

Example response

{
  "data": {
    "segment_records": [
      {
        "segment_id": "83caed4c60c6be7e4392cc25ed",
        "customer_id": "89ac83ca207a820c62c79bf03a",
        "created_at": "2021-06-20 16:59:49",
        "last_change": "2019-08-29 13:04:45"
      }
    ],
    "total_items": 1
  }
}