Skip to main content
GET
/
organizations
/
{organizationID}
/
invitations
/
{invitationID}
Get details of a specific invitation
curl --request GET \
  --url https://api.xata.tech/organizations/{organizationID}/invitations/{invitationID} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "organization_id": "<string>",
  "email": "jsmith@example.com",
  "created_at": "2023-11-07T05:31:56Z",
  "expires_at": "2023-11-07T05:31:56Z",
  "status": "pending",
  "first_name": "<string>",
  "last_name": "<string>",
  "invite_link": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organizationID
string
required

Unique identifier for a specific organization

invitationID
string
required

Unique identifier for an invitation

Response

Invitation details retrieved successfully

id
string
required

Unique identifier for the invitation

organization_id
string
required

ID of the organization the invitation is for

email
string<email>
required

Email address of the invited user

created_at
string<date-time>
required

Timestamp when the invitation was created

expires_at
string<date-time>
required

Timestamp when the invitation expires

status
enum<string>
required

Current status of the invitation

Available options:
pending,
expired
first_name
string | null

First name of the invited user

last_name
string | null

Last name of the invited user

URL link to accept the invitation