User
All the endpoints that can be called on the User controller.
Endpoints that require the USER_READ permission:
GETindexGETsettings
Endpoints that require the API_RESERVE_USER permission:
POSTreserveUserForLiveChannel
Endpoints that require the USER_ANONYMOUS_BROWSING_UPDATE permission:
PUTticketIncognitoMode
All other endpoints require the USER_CUD permission.
Creates a new user.
type: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿ\- ]+$
type: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿ\- ]+$
type: ^[a-zA-Z0-9\.\-]+$
type: string
Must be a valid email address format.
type: ^\+[0-9]+$
type: ^(nl|en)$ = 'en'
type: ^([a-z]{2}_[A-Z]{2})|(iso)$ = 'en_GB
type: number = null
type: boolean = true
Successful response
POST /api/v2/user HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 177
{
"firstname": "text",
"lastname": "text",
"name": "text",
"email": "text",
"telephone_number": "text",
"language": "text",
"dateFormat": "text",
"groups[]": "text",
"sendActivationMail": "text"
}Successful response
Updates the user's data.
Leaving any parameter empty will submit it as such. If you don't want to change a property, do not include it at all.
type: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿ\- ]+$ = null
Include this parameter to overwrite the existing name.
type: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿ\- ]+$ = null
Include this parameter to overwrite the existing name.
type: ^[a-zA-Z0-9\.\-]+$ = null
type: string = null
Must be a valid email address format.
type: ^\+[0-9]+$ = null
type: ^en|nl$ = null
type: ^([a-z]{2}_[A-Z]{2})|(iso)$ = null
type: number = null
Successful response
PUT /api/v2/user/{id} HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 142
"firstname='text'&lastname='text'&name='text'&email='text'&telephone='text'&language='text'&dateFormat='text'&groups[]='text'"Successful response
Activates this user in the database.
type: number
Successful response
PUT /api/v2/user/activate HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 13
"id='text'"Successful response
Deactivates this user in the database.
type: number
Successful response
PUT /api/v2/user/deactivate HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 13
"id='text'"Successful response
Updates the selected views for this user.
type: number = UID
type: number
type: [0|1]$
Put 1 if you want to add this view to the user, or 0 to unset.
Successful response
PUT /api/v2/user/updateUserView HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 51
"userID='text'&viewID='text'&newValue='text'"Successful response
Updates the maximum chats for this user.
type: number = UID
type: number
Successful response
PUT /api/v2/user/maxChats HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 35
"userID='text'&maxChats='text'"Successful response
Updates the chat sound on or off for this user.
type: number = UID
type: ^[0,1]$
Successful response
PUT /api/v2/user/chatSoundNewMessage HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"userID='text'&state='text'"Successful response
Sets the setting to notify the user on ticket assignment on or off for this user.
type: number = UID
type: ^[0,1]$
Successful response
PUT /api/v2/user/notifyOnTicketAssignment HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"userID='text'&state='text'"Successful response
Adds user statistic KPI.
type: number = UID
type: ^[a-zA-Z\_]+$
type: ^[0-9a-zA-Z]+$ = ' '
type: ^[0-9a-zA-Z]+$ = ' '
Successful response
POST /api/v2/user/userStatistic HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 95
{
"userID": "text",
"statistic": "text",
"statisticOption": "text",
"statisticSecondaryOption": "text"
}Successful response
Updates this user's statistics watch setting.
type: number = UID
type: ^[a-zA-Z\_]+$
type: ^[0-9a-zA-Z]+$ = ' '
type: ^[0-9a-zA-Z]+$ = ' '
type: ^watch|unwatch$
Successful response
PUT /api/v2/user/watch HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 123
"userID='text'&statistic='text'&statisticPrimaryOption='text'&statisticSecondaryOption='text'&watchToggle='text'"Successful response
Invokes a refresh on this tab.
type: ^[a-zA-Z0-9\_]+$
Successful response
POST /api/v2/user/refreshTab HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 16
{
"tabID": "text"
}Successful response
Updates this user's status.
type: number = null
type: string
Must be a valid email address format.
type: number
type: number = null
type: number = 0
Successful response
POST /api/v2/user/updateStatus HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 117
{
"userID": "text",
"userEmailAddress": "text",
"statusID": "text",
"lastInternalCallID": "text",
"browserRequestTime": "text"
}Successful response
Updates this user's incognito mode on tickets.
type: number = UID
type: ^[0,1]$
Put 1 for ticket incognito mode, 0 for regular.
Successful response
PUT /api/v2/user/ticketIncognitoMode HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"userID='text'&state='text'"Successful response
Updates this user's setting on automatically answering calls.
type: number = UID
type: ^[0,1]$
Put 1 if you want auto-answer to be on, 0 if not.
Successful response
PUT /api/v2/user/callsAutoAnswer HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"userID='text'&state='text'"Successful response
Sets this user's active or inactive campaigns.
type: number = UID
type: ^[a-zA-z0-9\-_]+$
Name of the campagin you want to set the user's status to.
type: [0|1]$
Successful response
POST /api/v2/user/userCampaignState HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 50
{
"userID": "text",
"campaign": "text",
"state": "text"
}Successful response
Sets this user to a specific status and locks it.
type: number
type: number
Successful response
POST /api/v2/user/statusLock HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 33
{
"userID": "text",
"status": "text"
}Successful response
Deletes the status lock on this user.
type: number
Successful response
POST /api/v2/user/statusLockDelete HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"userID": "text"
}Successful response
Returns this user's dashboard data.
E.g. name, ID and avatar.
Successful response
GET /api/v2/user/userDashboard HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Accept: */*
Successful response
Sends this user an account activation link.
Successful response
GET /api/v2/user/userActivationLink HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Accept: */*
Successful response
Updates this user's username.
type: number
type: ^[a-zA-Z0-9\.\-]+$
Successful response
PUT /api/v2/user/usernameUpdate HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 31
"id='text'&username='text'"Successful response
Updates this user's first name.
type: number
type: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿ\- ]+$
Successful response
PUT /api/v2/user/firstnameUpdate HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"id='text'&firstname='text'"Successful response
Updates this user's last name.
type: number
type: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿ\- ]+$
Successful response
PUT /api/v2/user/lastnameUpdate HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 31
"id='text'&lastname='text'"Successful response
Last updated