Users
Create a user
Changed onCreates a new user. Email must be unique within the tenant.
post/users
Request
- Base URLhttps://api.modjo.ai/v2
- URLhttps://api.modjo.ai/v2/users
- AuthHTTP bearer
Request body
Example request
{
"email": "jane.doe@company.com",
"firstName": "Jane",
"lastName": "Doe",
"phoneNumber": "+33612345678",
"jobTitle": "Account Executive",
"jobDepartment": "Sales",
"role": "user",
"timezone": "Europe/Paris",
"hasLicense": true
}Response
User created
Example response
{
"id": 1,
"email": "john@example.com",
"phoneNumber": "+33612345678",
"jobTitle": "Account Executive",
"jobDepartment": "Sales",
"role": "user",
"timezone": "Europe/Paris",
"createdOn": "2024-06-15T14:30:00.000Z",
"modifiedOn": "2024-06-15T15:00:00.000Z",
"hasLicense": true
}Changes
- info
added the new optional request property
- info
added the required property
to the response with the status
- info