Skip to content

List and Revoke Member Invitations

These operations belong to publicapi.v1.Member, not publicapi.v1.WorkspaceInvitation (which creates email invitations and links). Exact API scopes and the creator’s invitation-management permissions apply. List requires member:read; revoke requires member_invitation:revoke.

POST /public-api/publicapi.v1.Member/ListMemberInvitations

{ "pageSize": 100 }

Returns pending email invitations, newest first. Page size defaults to 100, maximum 100. When nextCursor is set (and truncated is true), send it back as cursor for the next page. Reusable link tokens are not returned.

Generated Reference
POST /public-api/publicapi.v1.Member/ListMemberInvitations

Lists pending email invitations only, newest first; no reusable link tokens. Pages with page_size (default and max 100) and cursor: pass next_cursor back until it is empty.

Request ListMemberInvitationsRequest
Response ListMemberInvitationsResponse

ListMemberInvitationsRequest

Field Type Description
page_size int32
cursor string Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.

ListMemberInvitationsResponse

Field Type Description
invitations repeated WorkspaceInvitation
truncated bool True when more invitations follow; next_cursor reads them.
next_cursor string Pass as cursor to read the next page. Empty on the last page.

POST /public-api/publicapi.v1.Member/RevokeMemberInvitation

{ "invitationId": "<pending-email-invitation-id>" }

Returns an empty response after revocation. This does not remove an accepted workspace member. Repeating revocation returns not found; do not assume every retry succeeds. Foreign invitation IDs cannot revoke another workspace’s invite.

Generated Reference
POST /public-api/publicapi.v1.Member/RevokeMemberInvitation

Revokes a pending email invitation. Repeating returns not found.

Request RevokeMemberInvitationRequest
Response RevokeMemberInvitationResponse

RevokeMemberInvitationRequest

Field Type
invitation_id string

RevokeMemberInvitationResponse

No fields.