GET/api/v1/get-pending-workspace-invites

List a workspace's outstanding invitations

Lists the invitations still waiting to be accepted or declined in a workspace, with the invited email address and the role each one offers.

AccessRequires a permission in the workspaceMANAGE_USERS

This is the administrator's view of the invitations sent with POST /api/v1/invite-to-workspace: everyone who has been invited to the workspace and has not yet responded. An invitation leaves the list once it has been accepted or declined, at which point an accepted member appears in GET /api/v1/get-users-from-workspace instead.

Each entry gives the InviteUID, the address the invitation went to, and the name of the role it offers. The member's own view of the same invitations, with the full role and permission detail, is GET /api/v1/get-invites-pending.

Query parameters
workspace_idnumberrequired
The workspace whose outstanding invitations to list. You must hold MANAGE_USERS in it.