UJET

App · 25 actions

Read UJET agents, their statuses and activity, calls, chats, queues and wait times, teams and campaigns, manage skills and agents' skills, and keep the Do Not Call list.

Actions

ActionWhat it does
Add to Do Not Call listAdd phone numbers to the Do Not Call list, optionally until a time.
Check Do Not Call listCheck whether a phone number is on the Do Not Call list.
Create skillAdd a skill to the roster.
Delete skillDelete a skill no queue requires.
Get callGet a call with its status, times, queue, agent and recording.
Get chatGet a chat with its status, agents, queues and end user.
Get queueGet a queue (menu) with its settings and assignments.
Get teamGet a team and its agents.
Give agent a skillGive an agent a skill at a level, or change the level they have.
List agent activityList agents' activity: each change of status and each call or chat notification.
List agent statusesList the statuses an agent can be in, such as Available.
List agentsList agents with their status, teams and how many calls and chats they have.
List agents' current statusesList the signed-in agents, each one's status, since when, and whether they have a call on hold.
List callsList calls, filtered by when they were updated, connected or queued, their status and type, and the agent.
List campaignsList the outbound dialer campaigns.
List chatsList chats, filtered by when they were created, assigned, updated or ended.
List disposition codesList the disposition codes agents pick after a call or chat.
List queue statusesList the queues with calls or chats waiting now: how many, for how long, and how many agents are available.
List queuesList the queues (menus) callers and chatters reach agents through.
List skillsList the skills agents can have, with how many agents have each.
List teamsList the teams and their agents.
List wait timesList each queue's expected wait for calls and chats, in seconds.
Remove agent's skillTake a skill away from an agent.
Remove from Do Not Call listTake phone numbers off the Do Not Call list.
Rename skillRename a skill.

Add to Do Not Call list

Add phone numbers to the Do Not Call list, optionally until a time.

Inputs

Phone numbersphone_numberslistRequired
Phone numbers with the country code, such as +14155550123.
Untilexpires_atdate and time
When they come off the list. Leave empty to keep them on.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "results": [
      {
        "error": "example",
        "expires_at": "example",
        "phone_number": "example",
        "status": "example"
      }
    ]
  }
}

Check Do Not Call list

Check whether a phone number is on the Do Not Call list.

Inputs

Phone numberphone_numbertextRequired
The phone number with the country code.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "do_not_call": true,
    "expired_at": "example",
    "phone_number": "example"
  }
}

Create skill

Add a skill to the roster.

Inputs

NamenametextRequired
The skill's name.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agent_count": 1,
    "avg_proficiency_level": 1,
    "is_used_in_queue": true,
    "skill_id": 1,
    "skill_name": "example"
  }
}

Delete skill

Delete a skill no queue requires.

Inputs

Skillskill_idnumberRequired
The skill.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "success": true
  }
}

Get call

Get a call with its status, times, queue, agent and recording.

Inputs

Call IDcall_idnumberRequired
The call's ID.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agent_info": {
      "agent_number": "example",
      "id": 1,
      "name": "example"
    },
    "assigned_at": "example",
    "call_duration": 1,
    "call_type": "example",
    "call_uuid": "example",
    "connected_at": "example",
    "created_at": "example",
    "disconnected_by": "example",
    "end_user": {
      "id": 1,
      "identifier": "example",
      "out_contact_id": "example"
    },
    "ends_at": "example",
    "fail_reason": "example",
    "has_feedback": true,
    "hold_duration": 1,
    "id": 1,
    "lang": "example",
    "menu_path": {
      "materialized_path": "example",
      "name": "example"
    },
    "out_ticket_id": "example",
    "out_ticket_url": "example",
    "queue_duration": 1,
    "queued_at": "example",
    "rating": 1,
    "recording_url": "example",
    "scheduled_at": "example",
    "selected_menu": {
      "deleted": true,
      "id": 1,
      "menu_type": "example",
      "name": "example",
      "parent_id": 1
    },
    "status": "example",
    "support_number": "example",
    "updated_at": "example",
    "verified": true,
    "wait_duration": 1
  }
}

Get chat

Get a chat with its status, agents, queues and end user.

Inputs

Chat IDchat_idnumberRequired
The chat's ID.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agent": {
      "id": 1,
      "name": "example",
      "status": "example"
    },
    "created_at": "example",
    "end_user": {
      "id": 1,
      "identifier": "example"
    },
    "ends_at": "example",
    "id": 1,
    "lang": "example",
    "menus": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "status": "example",
    "status_text": "example"
  }
}

Get queue

Get a queue (menu) with its settings and assignments.

Inputs

Queuemenu_idnumberRequired
The queue.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "deleted": true,
    "hidden": true,
    "id": 1,
    "menu_type": "example",
    "name": "example",
    "output_msg": "example",
    "parent_id": 1,
    "position": 1
  }
}

Get team

Get a team and its agents.

Inputs

Teamujet_team_idnumberRequired
The team.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agents_count": 1,
    "assignees": [
      {
        "agent_number": "example",
        "id": 1,
        "name": "example"
      }
    ],
    "deleted": true,
    "id": 1,
    "name": "example",
    "parent_id": 1,
    "position": 1
  }
}

Give agent a skill

Give an agent a skill at a level, or change the level they have.

Inputs

Agentagent_idnumberRequired
The agent (user) ID.
Skillskill_idnumberRequired
The skill.
LevellevelnumberRequired
The agent's level in the skill.At least 0.
Learningis_learningtrue/false
The agent is still learning the skill.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "is_learning": true,
    "level": 1,
    "skill_id": 1,
    "skill_name": "example"
  }
}

List agent activity

List agents' activity: each change of status and each call or chat notification.

Inputs

Agentsagent_idslist
Only those of these agents.
Started fromstarted_at_fromdate and time
Only those started on or after this time.
Started tostarted_at_todate and time
Only those started on or before this time.
Ended fromended_at_fromdate and time
Only those ended on or after this time.
Ended toended_at_todate and time
Only those ended on or before this time.
Sort bysort_columntext
A field of the records to sort by, such as created_at.
Ordersort_directiontext
Ascending or descending.One of: ASC (Ascending), DESC (Descending).
Pagepagenumber
Which page, from 1.At least 1.
Per pagepernumber
How many per page.At least 1.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "activities": [
      {
        "activity": "example",
        "agent_id": 1,
        "duration": 1,
        "ended_at": "example",
        "id": 1,
        "started_at": "example",
        "whodunnit": {}
      }
    ]
  }
}

List agent statuses

List the statuses an agent can be in, such as Available.

Inputs

None.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "statuses": [
      {
        "color": "example",
        "id": 1,
        "name": "example",
        "wfm_id": 1
      }
    ]
  }
}

List agents

List agents with their status, teams and how many calls and chats they have.

Inputs

Onlineonlinetrue/false
Only agents who are online (on) or offline (off).
Last signed in fromlast_login_time_fromdate and time
Only those who last signed in on or after this time.
Last signed in tolast_login_time_todate and time
Only those who last signed in on or before this time.
Pagepagenumber
Which page, from 1.At least 1.
Per pagepernumber
How many per page.At least 1.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agents": [
      {
        "agent_number": "example",
        "avatar_url": "example",
        "call_count": 1,
        "chat_count": 1,
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": 1,
        "last_login_time": "example",
        "last_name": "example",
        "location": "example",
        "middle_name": "example",
        "online": true,
        "roles": [
          "example"
        ],
        "status": {
          "color": "example",
          "id": 1,
          "name": "example",
          "wfm_id": 1
        },
        "status_updated_at": "example",
        "teams": [
          {
            "id": 1,
            "name": "example",
            "parent_id": 1
          }
        ],
        "wrap_up": true
      }
    ]
  }
}

List agents' current statuses

List the signed-in agents, each one's status, since when, and whether they have a call on hold.

Inputs

None.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agents": [
      {
        "id": 1,
        "on_hold": true,
        "on_hold_duration": 1,
        "status": "example",
        "status_id": 1,
        "status_updated_at": "example"
      }
    ]
  }
}

List calls

List calls, filtered by when they were updated, connected or queued, their status and type, and the agent.

Inputs

Updated fromupdated_at_fromdate and time
Only those updated on or after this time.
Updated toupdated_at_todate and time
Only those updated on or before this time.
Connected fromconnected_at_fromdate and time
Only those connected on or after this time.
Connected toconnected_at_todate and time
Only those connected on or before this time.
Queued fromqueued_at_fromdate and time
Only those queued on or after this time.
Queued toqueued_at_todate and time
Only those queued on or before this time.
Statusescall_statuseslist
Only calls in these states.One or more of: scheduled, queued, assigned, connecting, switching, connected, finished, failed, recovered, deflected, and 6 more.
Typescall_typeslist
Only calls of these types.One or more of: IncomingCallApp (Incoming (app)), ScheduledCallApp (Scheduled (app)), OutboundCall (Outbound), AgentScheduledCall (Scheduled by an agent), IvrCall (Phone (IVR)), IncomingCallWeb (Incoming (web)), ScheduledCallWeb (Scheduled (web)), ActionOnlyCall (Action only).
Agentsagent_idslist
Only those of these agents.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "calls": [
      {
        "agent_info": {
          "agent_number": "example",
          "id": 1,
          "name": "example"
        },
        "assigned_at": "example",
        "call_duration": 1,
        "call_type": "example",
        "call_uuid": "example",
        "connected_at": "example",
        "created_at": "example",
        "disconnected_by": "example",
        "end_user": {
          "id": 1,
          "identifier": "example",
          "out_contact_id": "example"
        },
        "ends_at": "example",
        "fail_reason": "example",
        "has_feedback": true,
        "hold_duration": 1,
        "id": 1,
        "lang": "example",
        "menu_path": {
          "materialized_path": "example",
          "name": "example"
        },
        "out_ticket_id": "example",
        "out_ticket_url": "example",
        "queue_duration": 1,
        "queued_at": "example",
        "rating": 1,
        "recording_url": "example",
        "scheduled_at": "example",
        "selected_menu": {
          "deleted": true,
          "id": 1,
          "menu_type": "example",
          "name": "example",
          "parent_id": 1
        },
        "status": "example",
        "support_number": "example",
        "updated_at": "example",
        "verified": true,
        "wait_duration": 1
      }
    ]
  }
}

List campaigns

List the outbound dialer campaigns.

Inputs

None.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "campaigns": [
      {
        "campaign_type": "example",
        "external_campaign_id": "example",
        "id": 1,
        "max_redial_count": 1,
        "mode": "example",
        "name": "example",
        "status": "example"
      }
    ]
  }
}

List chats

List chats, filtered by when they were created, assigned, updated or ended.

Inputs

Created fromcreated_at_fromdate and time
Only those created on or after this time.
Created tocreated_at_todate and time
Only those created on or before this time.
Updated fromupdated_at_fromdate and time
Only those updated on or after this time.
Updated toupdated_at_todate and time
Only those updated on or before this time.
Ended fromends_at_fromdate and time
Only those ended on or after this time.
Ended toends_at_todate and time
Only those ended on or before this time.
Sort bysort_columntext
A field of the records to sort by, such as created_at.
Ordersort_directiontext
Ascending or descending.One of: ASC (Ascending), DESC (Descending).
Pagepagenumber
Which page, from 1.At least 1.
Per pagepernumber
How many per page.At least 1.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "chats": [
      {
        "agent_info": {
          "agent_number": "example",
          "id": 1,
          "name": "example"
        },
        "assigned_at": "example",
        "chat_duration": 1,
        "chat_type": "example",
        "created_at": "example",
        "end_user": {
          "id": 1,
          "identifier": "example"
        },
        "ends_at": "example",
        "fail_reason": "example",
        "has_feedback": true,
        "id": 1,
        "lang": "example",
        "message_count": 1,
        "out_ticket_id": "example",
        "out_ticket_url": "example",
        "queue_duration": 1,
        "rating": 1,
        "selected_menu": {
          "deleted": true,
          "id": 1,
          "menu_type": "example",
          "name": "example",
          "parent_id": 1
        },
        "status": "example",
        "updated_at": "example",
        "verified": true,
        "wait_duration": 1
      }
    ]
  }
}

List disposition codes

List the disposition codes agents pick after a call or chat.

Inputs

Channelchanneltext
For calls or chats. Defaults to calls.One of: voice_call (Calls), chat (Chats).
Directioncall_directiontext
For inbound or outbound calls. Defaults to inbound.One of: inbound, outbound.
Languagelangtext
The language code, such as en. Defaults to en.
Pagepagenumber
Which page, from 1.At least 1.
Per pageper_pagenumber
How many per page, up to 100.From 1 to 100.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "lists": [
      {
        "codes": [
          {}
        ],
        "id": 1,
        "level": 1,
        "name": "example",
        "parent_path": "example"
      }
    ]
  }
}

List queue statuses

List the queues with calls or chats waiting now: how many, for how long, and how many agents are available.

Inputs

None.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "queues": [
      {
        "available_agents": 1,
        "average_queue_duration": 1,
        "comm_type": "example",
        "in_queue_count": 1,
        "lang": "example",
        "logged_in_agents": 1,
        "menu_id": 1,
        "menu_path": "example",
        "oldest_duration_in_queue": 1,
        "oldest_in_queue": "example"
      }
    ]
  }
}

List queues

List the queues (menus) callers and chatters reach agents through.

Inputs

Kindsmenu_typeslist
Only queues of these kinds.One or more of: ivr_menu (Phone (IVR)), mobile_menu (Mobile), web_menu (Web).
Sort bysort_columntext
A field of the records to sort by, such as created_at.
Ordersort_directiontext
Ascending or descending.One of: ASC (Ascending), DESC (Descending).
Pagepagenumber
Which page, from 1.At least 1.
Per pagepernumber
How many per page.At least 1.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "menus": [
      {
        "deleted": true,
        "hidden": true,
        "id": 1,
        "menu_type": "example",
        "name": "example",
        "output_msg": "example",
        "parent_id": 1,
        "position": 1
      }
    ]
  }
}

List skills

List the skills agents can have, with how many agents have each.

Inputs

None.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "skills": [
      {
        "agent_count": 1,
        "avg_proficiency_level": 1,
        "is_used_in_queue": true,
        "skill_id": 1,
        "skill_name": "example"
      }
    ]
  }
}

List teams

List the teams and their agents.

Inputs

Sort bysort_columntext
A field of the records to sort by, such as created_at.
Ordersort_directiontext
Ascending or descending.One of: ASC (Ascending), DESC (Descending).
Pagepagenumber
Which page, from 1.At least 1.
Per pagepernumber
How many per page.At least 1.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "teams": [
      {
        "agents_count": 1,
        "assignees": [
          {
            "agent_number": "example",
            "id": 1,
            "name": "example"
          }
        ],
        "deleted": true,
        "id": 1,
        "name": "example",
        "parent_id": 1,
        "position": 1
      }
    ]
  }
}

List wait times

List each queue's expected wait for calls and chats, in seconds.

Inputs

LanguagelangtextRequired
The queues' language code, such as en.
Kindmenu_typetext
Only queues of this kind.One of: ivr_menu (Phone (IVR)), mobile_menu (Mobile), web_menu (Web).
Channelchannel_typetext
Only calls or only chats.One of: voice_call (Calls), chat (Chats).

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "queues": [
      {
        "available_agents": 1,
        "chat": 1,
        "logged_in_agents": 1,
        "materialized_path": "example",
        "menu_id": 1,
        "menu_type": "example",
        "voice_call": 1
      }
    ]
  }
}

Remove agent's skill

Take a skill away from an agent.

Inputs

Agentagent_idnumberRequired
The agent (user) ID.
Skillskill_idnumberRequired
The skill.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "success": true
  }
}

Remove from Do Not Call list

Take phone numbers off the Do Not Call list.

Inputs

Phone numbersphone_numberslistRequired
Phone numbers with the country code, such as +14155550123.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "removed": [
      "example"
    ],
    "results": [
      {
        "error": "example",
        "expires_at": "example",
        "phone_number": "example",
        "status": "example"
      }
    ]
  }
}

Rename skill

Rename a skill.

Inputs

Skillskill_idnumberRequired
The skill.
NamenametextRequired
The skill's new name.

Outputs

dataobject
The response from UJET.
Example output
{
  "data": {
    "agent_count": 1,
    "avg_proficiency_level": 1,
    "is_used_in_queue": true,
    "skill_id": 1,
    "skill_name": "example"
  }
}

On this page