Skip to main content
POST
/
auth
/
organization
/
invite-member
Invite Organization Member
curl --request POST \
  --url https://cloud.kaneo.app/api/auth/organization/invite-member \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "role": "<string>",
  "teamId": "<string>",
  "organizationId": "<string>",
  "resend": true
}
'
{
  "id": "<string>",
  "email": "<string>",
  "role": "<string>",
  "organizationId": "<string>",
  "inviterId": "<string>",
  "status": "<string>",
  "expiresAt": "<string>",
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
email
string
required

The email address of the user to invite

role
string
required

The role(s) to assign to the user. It can be admin, member, owner. Eg: "member"

teamId
string
required
organizationId
string | null

The organization ID to invite the user to

resend
boolean | null

Resend the invitation email, if the user is already invited. Eg: true

Response

Success

id
string
required
email
string
required
role
string
required
organizationId
string
required
inviterId
string
required
status
string
required
expiresAt
string
required
createdAt
string
required