Create a user
Create a user in a client company. When the client company has no active super admin, the new user becomes its super admin. The user receives a welcome email with a link to set their password, unless send_welcome_email is false.
post/reseller/companies/{company_uuid}/users
Request
- Base URL: https://public-api.leexi.ai/v1
- URL: https://public-api.leexi.ai/v1/reseller/companies/{company_uuid}/users
- Auth: API key in header Authorization
Path parameters
company_uuidstring required
UUID of one of your client companies.
Request body
Response
200
Example response
{
"data": {
"active": true,
"created_at": "2024-06-14T11:00:33.534Z",
"email": "john.smith@acme.com",
"license": "business",
"name": "John Smith",
"roles": [
"member"
],
"team": {
"active": true,
"name": "Sales Team",
"uuid": "5290728d-b3c4-4330-918d-d8f153e9500d"
},
"updated_at": "2024-06-14T11:00:33.534Z",
"uuid": "befb9860-8661-442a-9496-8743de9e17cd"
},
"message": "User successfully created",
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.