Skip to main content
POST
/
api
/
v1
/
invitations
Create account invitation
curl --request POST \
  --url https://api.rafftechnologies.com/api/v1/invitations \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "email": "jsmith@example.com",
  "role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "account",
    "email": "jsmith@example.com",
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "account_name": "<string>",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_name": "<string>",
    "role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "role_name": "<string>",
    "invited_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "invited_by_email": "jsmith@example.com",
    "invited_by_name": "<string>",
    "expires_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.rafftechnologies.com/llms.txt

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

Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Body

application/json
email
string<email>
required

Recipient's email address. Must not already be a member.

role_id
string<uuid>
required

Role the invitee will receive on acceptance. Must be scope: account for account invites or scope: project for project invites.

Response

Invitation sent

success
boolean
data
object
Last modified on May 8, 2026