Menu

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

idstringrequired

uuid

Query parameters

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–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.

idstringrequired

uuid

namestringrequired
descriptionstring | nullrequired
addedAtstringrequired

When the contact joined the group.

date-time