Groups
List a contact's groups
GET/v1/contacts/{id}/groups
Requires an API key with the contacts:read scope. About keys and scopes
Returns the groups one contact belongs to, with the time each membership began. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null. The cursor is opaque — do not construct or parse one.
Path parameters
idstringrequireduuid
Query parameters
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
Returns
Returns 200 OK with a list of ContactGroupMembership objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
namestringrequireddescriptionstring | nullrequiredaddedAtstringrequiredWhen the contact joined the group.
date-time