UtilitayDevelopers
Get an API key
API reference

Segments

/groups

A segment is who a group-scoped event is about. A static segment keeps a list you add to; a dynamic segment holds whoever's attributes contain its filter, so nobody keeps it up. Beside the segments somebody keeps are temporary lists, picked by a person for one send: you can see them, but a key cannot change one and an event cannot name one. In the Subscription business pack a segment is, for example, “Annual plans”.

GETList who is in a segment

Requires groups:read. The subscriptions a static segment lists — or customers, for a segment of customers — whole. A dynamic segment keeps no list, and an empty one here would read as “nobody is in it”, so it is refused: ask /matches.

Path parameters
group_iduuid · required
The segment id.
Query parameters
limitinteger · default 50 · max 200
offsetinteger · default 0
qstring · optional · max 100
Matches a member's name or number.
Returns

200 with an array of subscriptions or customers. 400 on a dynamic segment.

Response body

A bare JSON array. Each item is one subscription: the same fields in every pack. Press Response on the sample to see one whole.

FieldTypeDescription
iduuid
tenant_iduuidThe instance.
external_refstring | nullYour own id, as you sent it.
display_namestring
attributesobjectShaped by the Subscription business pack's subject_schema.Varies by pack
statusactive | inactive
created_atdatetime
updated_atdatetime

On failure the body is { error, code } instead.