Skip to content

Create invitation

POST
/api/v1/invitations

Begins the invitation lifecycle by creating a new invitation and sending an email to the invitee. The invitation remains pending until it is accepted, revoked, or expires after 7 days.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"email": "string",
"role": "member"
}

Responses

Successful Response

application/json
JSON
{
"id": "string",
"email": "string",
"role": "string",
"status": "string",
"invited_by_email": "string",
"created_at": "string",
"expires_at": "string",
"accepted_at": "string"
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

XC AI Content Automation