List your memberships
GET
/v1/me/memberships
curl "https://api.summerbase.com/v1/me/memberships" \ -H "Authorization: Bearer sb_..."const response = await fetch("https://api.summerbase.com/v1/me/memberships", { headers: { Authorization: "Bearer sb_...", },})const data = await response.json()Every organization you belong to, and what you may do in each. Expand
organization to get the companies themselves in the same call.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
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>
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.
Response
Section titled “Response”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}