Create a user
Create a user with the provided details.
POST /integrations/users/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
| Content-Type | application/json |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | No | The email of Frejun User |
Payload
creatorrequiredstring
Email of the user creating this user
emailrequiredstring
Email of the user to be created
rolesrequiredarray of integer
List of role IDs to be assigned to the user
licenserequiredstring
License type for the user (Plan or Viewer)
addon_licensesarray of string
List of addon licenses if applicable. Possible values are: AUTODIAL, BROWSER CALLING (For INR accounts only), WHATSAPP BUSINESS
numberrequiredstring
Phone number of user to be created (E.164 format)
first_namerequiredstring
First name of the user
last_namestring
Last name of the user
disable_invitation_emailboolean
Set to True to disable sending invitation email to the user
Response
{ "success": true, "message": "string", "data": { "user_id": "string", "email": "email", "roles": [ 0 ], "license": "string", "addon_licenses": [ "string" ], "number": {}, "first_name": "string", "last_name": "string", "is_active": false }}