List the groups of a contact
List the memberships of one contact: the groups they are in today first, then those they left, the most recent departure first.
The list is answered whole rather than a page at a time. Memberships of deleted groups are left out.
Groups are not yet available to every account. Until they are available to yours, every endpoint here answers 404.
This endpoint answers GET and QUERY alike, and both return the same answer. GET sends the parameters in the address, QUERY in the request body. How QUERY works.
Path parameters
Path parameters go in the address. GET sends the others in the address too, QUERY sends them as JSON in the request body. Anything not listed here is ignored.
The vault the groups live in, named either by the readable name it reports as slug or by its id.
The contact, named either by their slug or by their id. A contact addressed through the wrong vault answers 404.
Returns
Every membership object of the contact.
Every one of the memberships of the contact, whole rather than a page at a time.
One membership.
Always group_membership. It names the kind of record, so a caller holding several kinds can tell them apart without looking at where they came from.
The id of this record, as a string even when it reads as a number. It is what every endpoint naming this record takes.
Everything the record holds.
The group the membership is in.
The id of the group.
What the group is called.
The person the membership is about.
The id of the contact.
The readable name of the contact, which addresses it as well as its id.
The name of the contact, as it is shown.
What the person is in the group, in their own words, or null.
When the person joined, written as a year, a month and a day, or null.
How much of the date is known: day, month, year or decade. Always unknown when there is no date.
When the person left, written as a year, a month and a day, or null while they are still in the group.
How much of the date is known: day, month, year or decade. Always unknown when there is no date.
True while the person is in the group, which is while left_on is null.
When the membership was recorded, as a count of seconds since 1970.
When it last changed, as a count of seconds since 1970, or null.
Rate limit
Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.