Skip to main content
POST
/
v1
/
organizations
/
{orgId}
/
invite
Invite a member to an organization
curl --request POST \
  --url https://getkontext.io/api/v1/organizations/{orgId}/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "role": "admin"
}
'
{
  "error": "<string>",
  "issues": [
    {
      "code": "<string>",
      "message": "<string>",
      "path": [
        "<string>"
      ]
    }
  ]
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key (ktx_key_*) or session Bearer token

Path Parameters

orgId
string
required

Body

application/json
email
string<email>
required
role
enum<string>
required
Available options:
admin,
member

Response

Invitation sent