Skip to content

Invite a user to the organization

POST
/organizations/{id}/members
curl --request POST \
--url https://api.krakenkey.io/organizations/example/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "alice@example.com", "role": "admin" }'
id
required
string

Organization UUID

Media typeapplication/json
object
email
required

Email address of the user to invite (must already exist in the system)

string
Example
alice@example.com
role

Role to assign to the invited user

string
default: member
Allowed values: admin member viewer

Member invited

Organization or user not found

User already in another org