List Segments
Segments
List Segments
List all segments or retrieve a single segment by ID
GET
List Segments
Segments are a small, closed set of values accepted by WE, so this endpoint returns all of them in a single response — there is no pagination.Provide the optional
id query parameter to filter by a specific segment. The response is always an array, even when filtering by id (it returns an array containing a single item).The
name field is localized based on the authenticated user’s locale: when the locale is English (en), the English name is returned, falling back to the default name when no translation is available.Query Parameters
The ID of the segment to retrieve. When provided, the response contains only the matching segment (as a single-item array).
Response
List of segments

