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",
  "first_name": "<string>",
  "last_name": "<string>",
  "invite_link": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://xata.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

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

Pattern: [a-zA-Z0-9_-~:]+
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

Pattern: [a-zA-Z0-9_-~:]+
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