Create a New User

Create a new user for the selected account (accountId). The body must include next fileds: * the userType fields ('human' or 'sever'), * roleType ('account_admin' or 'application_user'), * accountId (account id) and enabled ('true' to activate the user). If the user is a 'human' type, you must include 'email' and 'password'. If the roleType is 'application_user' you must in addition to this call another one to enable the permissions /user/{id}/permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

user's type. Two types: human or server

Allowed:
string

user's email(mandatory for userType human)

password

user's password(mandatory for userType human)

whitelist
array of strings

user's whitelist. The array contains the IPs, in IPV4 format, from which the user can access Ex:

  45.85.157.5
whitelist
boolean
Defaults to false

If two factor auth is enabled

string
enum
required

user's role

Allowed:
integer

Account's id where you will register the user

string

user's name

string

user's description

boolean
required

if user is enabled

string

User's language. The format is ISO 639-1 alfa-2.

Ex:

Spanish - es
English - en
string
enum

Indicates if this user can act as an agent in the chat call center

Allowed:
boolean

Acceptance of commercial communications

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json