Returns what an invitation to an organisation is for, so you can show it before it is accepted.
HTTP
GET /auth/invites/{token}Access: No token needed.
Path parameters #
| Parameter | Description |
|---|---|
token | The token from the invitation link. |
Response 200 #
The invitation.
JSON
{
"email": "grace@example.com",
"organization": "Acme",
"role": "member"
}Response fields #
| Field | Type | Description |
|---|---|---|
email | string | The address the invitation was sent to. |
organization | string | The name of the organisation. |
role | string | The role the invited person gets in the organisation. |
Errors #
| Status | error | When |
|---|---|---|
| 410 | invalid_or_expired_token | The token is unknown or has expired. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.