List My Invitations
Lists pending, unexpired invitations addressed to the calling subject's VERIFIED email, restricted to teams entitled to the calling application. Never returns invitation tokens. Lets a product show an invitation inbox in-app instead of relying on the emailed link.
Required scopes: auth:teams:read
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.TeamsService/ListMyInvitations" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"invitations": [
{
"invitationId": "string",
"team": {
"teamId": "urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60",
"slug": "platform-core",
"name": "Platform Core",
"description": "string",
"avatarUrl": "string",
"createdAt": "2023-01-15T01:30:15.01Z"
},
"role": "TEAM_ROLE_UNSPECIFIED",
"invitedBy": "string",
"expiresAt": "2023-01-15T01:30:15.01Z",
"createdAt": "2023-01-15T01:30:15.01Z"
}
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Leave Team POST
Removes the calling subject from a team. The last owner must transfer ownership first. **Required scopes:** `auth:teams:manage` or `auth:teams:manage:app` (the latter additionally requires the team to be entitled to the calling application)
List My Teams POST
Lists the teams the calling subject belongs to, filtered to teams entitled to the calling application. Includes the subject's team role and their per-application role names for the calling application. Set `include_unentitled` to additionally return teams the calling user OWNS that are not yet entitled to this application (`entitled=false`, no application roles) — the picker for entitling an existing team via EnableTeamApplication. That form additionally requires `auth:teams:manage` or `auth:teams:manage:app`, and a user subject. **Required scopes:** `auth:teams:read`