List invitations
GET
/v1/invitations
curl "https://api.summerbase.com/v1/invitations" \ -H "Authorization: Bearer sb_..."const response = await fetch("https://api.summerbase.com/v1/invitations", { headers: { Authorization: "Bearer sb_...", },})const data = await response.json()Every invitation this organization has outstanding, oldest first. One that
is past expires_at stays listed until it is cancelled or reissued.
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.
Response
Section titled “Response”Returns a list of invitation objects, a page at a time. See Pagination.
Media typeapplication/json
Example
{ "data": [ { "email": "sam@example.com", "expires_at": "2026-10-26T15:30:00Z", "id": "0199c3e4-2a7b-7f10-9c8d-4e6f1a3b5d27", "object": "invitation", "role": "writer" } ], "has_more": false, "next_cursor": null, "object": "list", "total_count": 1}