Skip to Content
Docs

Get invitation by id

GET
/invitations/{invitationId}

required scopes: contextual:invitations:read

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Header Parameters

Response Body

application/json
  1. response
id*string
Length1 <= length
email*string
Length1 <= length
organization*string
Length1 <= length
roles*array<>
Items1 <= items
expiresAt*string

An ISO 8601 date time string

Match^(?:\d+(?:\.\d+?)?|(?:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z))$
Formatdate-time
accepted?boolean
_metaData*
Example Request
curl -X GET 'https://auth.your-tenant-id.my.contextual.io/api/v1/invitations/{invitationId}'
Example Response
{  "id": "string",  "email": "string",  "organization": "string",  "roles": [    "string"  ],  "expiresAt": "2019-08-24T14:15:22Z",  "accepted": true,  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}