User status endpoints

User status represents a state that an agent can be in at any time. Each status (either out-of-the-box or a newly configured status) is represented in a single object, such as the following:

  [ 
  
 { 
  
 "id" 
 : 
  
 0 
 , 
  
 "wfm_id" 
 : 
  
 0 
 , 
  
 "name" 
 : 
  
 "string" 
 , 
  
 "color" 
 : 
  
 "string" 
  
 } 
 ] 
 

User statuses

Endpoint:

 Method:  
GET
Type:  
URL:  
https:// { 
 { 
subdomain } 
 } 
. { 
 { 
domain } 
 } 
/manager/api/v1/user_statuses 

More example Requests/Responses:

Example request: User statuses

Body: None

Example response: User statuses

  [ 
  
 { 
  
 "id" 
 : 
  
 0 
 , 
  
 "name" 
 : 
  
 "Available" 
 , 
  
 "color" 
 : 
  
 "green" 
 , 
  
 "wfm_id" 
 : 
  
 11 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -1 
 , 
  
 "name" 
 : 
  
 "Unavailable" 
 , 
  
 "color" 
 : 
  
 "red" 
 , 
  
 "wfm_id" 
 : 
  
 12 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -2 
 , 
  
 "name" 
 : 
  
 "Break" 
 , 
  
 "color" 
 : 
  
 "yellow" 
 , 
  
 "wfm_id" 
 : 
  
 29 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -3 
 , 
  
 "name" 
 : 
  
 "Special Task" 
 , 
  
 "color" 
 : 
  
 "pink" 
 , 
  
 "wfm_id" 
 : 
  
 30 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -4 
 , 
  
 "name" 
 : 
  
 "Meal" 
 , 
  
 "color" 
 : 
  
 "brown" 
 , 
  
 "wfm_id" 
 : 
  
 31 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -5 
 , 
  
 "name" 
 : 
  
 "Missed Call" 
 , 
  
 "color" 
 : 
  
 "blue_grey" 
 , 
  
 "wfm_id" 
 : 
  
 32 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -6 
 , 
  
 "name" 
 : 
  
 "Wrap-up" 
 , 
  
 "color" 
 : 
  
 "purple" 
 , 
  
 "wfm_id" 
 : 
  
 33 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -7 
 , 
  
 "name" 
 : 
  
 "In-call" 
 , 
  
 "color" 
 : 
  
 "light_blue" 
 , 
  
 "wfm_id" 
 : 
  
 34 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -8 
 , 
  
 "name" 
 : 
  
 "In-chat" 
 , 
  
 "color" 
 : 
  
 "indigo" 
 , 
  
 "wfm_id" 
 : 
  
 35 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 -10 
 , 
  
 "name" 
 : 
  
 "Offline" 
 , 
  
 "color" 
 : 
  
 "grey" 
 , 
  
 "wfm_id" 
 : 
  
 36 
  
 }, 
  
 { 
  
 "id" 
 : 
  
 5 
 , 
  
 "name" 
 : 
  
 "Meal" 
 , 
  
 "color" 
 : 
  
 "green" 
 , 
  
 "wfm_id" 
 : 
  
 45 
  
 } 
 ] 
 

Status Code: 200

Create a Mobile Website
View Site in Mobile | Classic
Share by: