Skip to main content
POST
https://api.unify.ai
/
v0
/
organizations
/
{organization_id}
/
invites
curl --request POST \
  --url 'https://api.unify.ai/v0/organizations/<organization_id>/invites' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "string",
    "token": "string",
    "organization_id": "integer",
    "organization_name": "string",
    "invitee_email": "string",
    "invited_by_user_id": "string",
    "invited_by_name": "string | null",
    "role_id": "integer",
    "role_name": "string | null",
    "level": "string",
    "expires_at": "string",
    "created_at": "string"
}
Invite a user to join an organization via email. Requires org:write permission. Sends an email with an invite link to the specified email address.

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
integer
required

Body

email
string
required
role_id
integer | null
level
string
default:"user"
expires_in_days
integer
default:"7"
curl --request POST \
  --url 'https://api.unify.ai/v0/organizations/<organization_id>/invites' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "string",
    "token": "string",
    "organization_id": "integer",
    "organization_name": "string",
    "invitee_email": "string",
    "invited_by_user_id": "string",
    "invited_by_name": "string | null",
    "role_id": "integer",
    "role_name": "string | null",
    "level": "string",
    "expires_at": "string",
    "created_at": "string"
}