Sazabi
APIMembers

List invitations

GET
/members/invitations

List pending invitations for an organization.

Query Parameters

organizationId?string

Organization to list invitations for. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/members/invitations"
{  "invitations": [    {      "id": "string",      "email": "user@example.com",      "role": "admin",      "status": "string",      "createdAt": "2019-08-24T14:15:22Z",      "expiresAt": "2019-08-24T14:15:22Z"    }  ]}