94acb422c07d
List Memberships
Shows a list of memberships.
By default, this endpoint returns both account and organization memberships, but if an organization ID is supplied, it will return only organization memberships, instead.
The example return value shows both an organization and an account, but a given membership will only have one or the other.
Note: This endpoint will also return a pagination key on the root level.
Please refer to the pagination section within our docs for more information.
Query parameters
Max number of resources returned in a paged collection. Defaults to 10, with a minimum of 1 and maximum 500.
Token used to request the next page in paginated results. Defaults to 'null'
Field to sort by. Defaults to 'id'.
Sort direction. Defaults to 'desc'.
Filter by organization ID to return only memberships for that organization.
Filter by user ID to return only memberships for that user.
Filter by permission label.
Response
List Memberships
Example response
{
"memberships": [
{
"id": 1,
"permissions": "Read-only",
"account": {
"id": 1234,
"name": "Exemplary Accounting, LLC"
},
"organization": {
"id": 5678,
"name": "Organic Zations"
},
"user": {
"id": 90210,
"email": "little_bobby@example.com",
"name": "Robert Tables"
},
"created_at": "2026-01-22 01:07:08 UTC",
"updated_at": "2026-01-22 01:07:08 UTC"
}
]
}