post
https://public-api.leexi.ai/v1/users
Create a user in your workspace
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Example payload
name, email and team_uuid are required. roles defaults to ["member"] and license defaults to your company's license category.
{
"name": "John Smith",
"email": "[email protected]",
"team_uuid": "5290728d-b3c4-4330-918d-d8f153e9500d",
"roles": ["member"],
"license": "enterprise"
}The user is created without a password: they receive a welcome email with a link to set one. Pass "send_welcome_email": false to provision users silently — they can then set their password through the "forgot password" flow.
Requires thewrite_userspermission scope on the API key.
A key with thewrite_usersscope creates and deactivates users, which affects your billed licenses. Only grant it to integrations you trust with user management. Privileged roles (super_admin,system_admin,billing_manager) cannot be assigned through the API: grant them from Leexi > Settings > Users.
