ServicesOrganizationsHTTP APIInvitations

List_invitations

GET
/api/organizations/invitations

List the active Organization invitations with invite permission. Page size defaults to 10 and must be 1..=100.

This operation returns results in pages. To get the next page, send the nextPageToken value of the response as pageToken in a new request with the same parameters. When the response has no nextPageToken, there are no more pages. A page can have an empty items list before the last page.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Query Parameters

pageSize?|null
pageToken?string|null

Response Body

Success

application/json
  1. response

Live invitations in descending provider invitation ID order.

items*array<>
nextPageToken?string|null
curl -X GET 'https://api.spiraldb.dev/api/organizations/invitations'
{  "items": [    {      "acceptedAt": "string",      "createdAt": "string",      "email": "string",      "expiresAt": "string",      "id": "string",      "inviterUserId": "string",      "role": "owner",      "state": "string"    }  ],  "nextPageToken": "string"}