Return details on a pending team invitation.
Return details on a pending team invitation.
Path Parameters
The invite code provided to the user.
- 200
- default
OK
Schema
invitation object
Represents an invitation to a team. This has limited information since it is used only for sending and verifying details of an invitation.
The invitation code for this invite.
The sender of the invitation.
The email address that the invitation was sent to.
The human-readable name of the team that the invitation is for.
role object
The team role that this invitation represents.
True if the user is an admin for the team.
When this invitation was sent.
{
"invitation": {
"inviteCode": "string",
"sender": "string",
"email": "string",
"teamName": "string",
"role": {
"isAdmin": true
},
"created": "2024-03-07T22:56:08.453Z"
}
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}