Skip to content

List the organization's memberships

GET
/v1/organization/memberships
curl "https://api.summerbase.com/v1/organization/memberships" \
-H "Authorization: Bearer sb_..."

Everybody in this organization and what each of them may do, oldest first.

limit
integer
default: 20 >= 1 <= 100

How many records to return, 1 to 100. Defaults to 20.

cursor
string

The next_cursor of the previous page, to read the page after it.

include_total_count
boolean

Whether to add total_count, how many records match altogether. On the first page only: it is the same number on every page of one list, so keep the first page’s, and it is refused beside a cursor.

expand[]
Array<string>
<= 10 items
Allowed values: organization user

Relationships to include in the response instead of fetching separately. A dotted path expands what an expanded record can expand in turn — at most 4 deep, 10 paths a request, and never back to a record already on the path.

Returns a list of membership objects, a page at a time. See Pagination.

Media typeapplication/json

Example

{
"data": [
{
"created_at": "2025-09-08T14:02:37Z",
"id": "0198f1a2-6c40-7a9e-8d1b-3f5e7c9a2b64",
"object": "membership",
"organization_id": "0198f1a2-6c3d-7e41-9a2b-5c8d1e4f7a90",
"role": "admin",
"user_id": "0198f1a2-6b10-7d2a-b4c5-9e8f7a6b5c41"
}
],
"has_more": false,
"next_cursor": null,
"object": "list",
"total_count": 1
}