Skip to content

Create a user

Create a user with the provided details.

POST /integrations/users/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
emailstringNoThe email of Frejun User

Payload

creatorrequired
string

Email of the user creating this user

emailrequired
string

Email of the user to be created

rolesrequired
array of integer

List of role IDs to be assigned to the user

licenserequired
string

License type for the user (Plan or Viewer)

addon_licenses
array of string

List of addon licenses if applicable. Possible values are: AUTODIAL, BROWSER CALLING (For INR accounts only), WHATSAPP BUSINESS

numberrequired
string

Phone number of user to be created (E.164 format)

first_namerequired
string

First name of the user

last_name
string

Last name of the user

disable_invitation_email
boolean

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
}
}