[EVENT]

Fetched Operator State

The op_status event contains information about the current state of an operator. It is returned under a number of circumstances, such as when a command is used to change the state of an operator or a call.

Parameters

operator_id number The unique, system-defined ID of the operator.
customer_id number The unique, system-defined ID of the customer associated with the operator.
name string The operator's name.
email string The operator's e-mail address.
login_state Boolean Whether or not the operator is currently logged in.
op_state_code number A code representing the current state of the operator.
op_state_desc string A short description of the state linked to op_state_code.
target string The phone number of the operator. If they are a VoIP operator, this number will be 3333 followed by their operator_id.
ring_time number The ring time, in seconds, allocated to the operator.
wrap_time number The wrap time, in seconds, allocated to the operator.
break_id number If the operator is on a break, this will show the unique, system-defined ID of the break or busy state currently assigned to them.
break_name string A short description of the break or busy state linked to break_id, if one is applied.

Example Response

Copy
{"event":{"event_type":"op_status","operator_ID":76085,"customer_ID":607,"name":"Luigi Pomodoro","email":"","login_state":1,"op_state_code":1,"op_state_desc":"Waiting","target":"0132 5460897","ring_time":30,"wrap_time":250,"break_id":0,"break_name":""}}