AgentChat API
This document describes how you can use the ChannelMobile AgentChat API
Last updated
Was this helpful?
This document describes how you can use the ChannelMobile AgentChat API
Last updated
Was this helpful?
All endpoints are available below, containing information necessary to run each.
Here is a link to our SwaggerHub documentation, you can use our testing credentials to make API calls and try everything out for yourself right now.
EmailAddress: testing@channelmobile.co.za
Password: Something23!
The API call to logon the agent and return a session token
The unique email address and the username the agent will use to login
The password corresponding to the unique email address
The API call to update the password for an agent
The ResetCode in the reset password request URL
The API call to initiate a password change for an agent
The API call to log-off the agent and invalidate the session token
The API call to send a message to a chat
The ID number of the Chat from which the message is to be sent
The text of the message
Type of file being attached to the message
The name of the file to be attached to the message
The base 64 encoded file content
The API call to add a comment to a customer
The customer ID of the customer that the chat belongs to. The customer must be linked to an active chat
The Comment being added.
The API call to transfer a chat to a new department.
The API call to transfer a chat to a new agent. Business Rules: 1. Chat must be assigned. 2 Agent must be online.
The API call to assign a new chat to the calling agent (Agent making the GrabChat call)
The API call to return a list and details of unassigned, open and closed chats
The API call to return the details of a chat to be exported, this data will be in a csv format
The API call to update the status of a chat to closed
The API call to update the status of a Chat to assigned, when assigned to an Agent
The API call to create a new Agent
The full name of the Agent
The unique email address and the username the agent will use to login
The role ID of the user being created, 1 = Agent, 2 = Manager
Array of Department ID numbers that the agents will be assigned to
The API call to keep the session active
The API call to update an existing Agent’s details
The ID number of the Agent to be updated
The name of the Agent to be updated
The mobile number of the Agent to be updated
The unique email address, which is also used as the username, of the Agent to be updated
The array of notifications to enable. (Note the current version only has UnassignedChatsWaiting )
The role ID of the user being updated 1 = Agent, 2 = Manager
The status ID of the Agent being updated 1 = Offline, 2 = Busy, 3 = Onbreak, 4 = Online
Array of Department ID numbers that the agents will be assigned to
The API call to create a new Department
The name of the department to be created
Must the Department Name be included in the welcome menu
The name of the Department as it will be included in the welcome menu options
Welcome message for returning customers
Welcome message for new customers (typically includes POPIA information)
Option number in the welcome menu
To Enabled the Department (true/false)
The list of tag ID numbers that will automatically be tagged to the Department being created
The API call to update an existing Department
The ID number of the Department to be updated
The name of the department to be updated
Must the Department Name be included in the welcome menu
The name of the Department as it will be included in the welcome menu options
Welcome message for returning customers
Welcome message for new customers (typically includes POPIA information)
Option number in the welcome menu
To Enabled the Department (true/false)
The list of tag ID numbers that will automatically be tagged to the Department being created
The API call to return a list of Departments and corresponding setting and message details
The API call to update a Customer’s details
The ID number of the customer to be updated
The full name of the customer
The customer’s email address
Text field to allow comments
The ID of tag assigned to the chat. Note that the chat must be active as the tags are linked to the chat not the customer
The API call to return the results of a search for a customer
The API call to add a tag to a chat.
NB The CustomerID or ChatID must be specified in the request.
The ChatID of the chat the Tag must be assigned to.
The customer ID of the customer that the chat belongs to. The customer must be linked to an active chat
The API call to create a new Tag
The ID number of the group to which the tag will be allocated
The name of the tag to be created
Flag true to enable and false to disable the ability to create a tag
The API call to remove a tag from a chat
The ID number of the Chat from which the Tag is to be removed
The ID number of the Tag to be removed
The ID number of the tag to be updated
The name of the tag group to be updated
Flag true to enable and false to disable the tag
The API call to delete a Tag
The API call to create a new Group of Tags
The name of the Tag Group to be created
Flag true to enable and false to disable the ability to create a Tag Group
The API call to update an existing Group of Tags
The ID number of the tag group to be updated
The name of the tag group to be updated
Flag true to enable and false to disable the TagGroup
The API call to create a new Canned Response
The name of the canned response to be created
The text of the canned response being created
The API call to update an existing Canned Response
The ID number of the canned Response to be updated
The name of the canned Response to be updated
The text of the message of the response
The API call to delete a Canned Response
The API call to update Working Hours
The API call to create a new schedule of Reports
The ID number of the recipient to receive the report
The ID number of the report the recipient will receive
The format of the file containing the report the recipient will receive
The time over which the reports will be sent
The method of delivery of the report
The day or days of the week the reports will be sent to the recipients. Monday is 1, Tuesday 2, etc
The time of the day each report will be sent on SheduledDay. Format: HH:MM
The API call to return the values of the Live Metrics of the Dashboard
The API call to return details for all available reports
The API call to return the reporting data shown on the dashboard
The API call to delete a Scheduled report
The API call to create a new Recipient of emailed reports
The full name (first name and surname) of the recipient
The email address of the recipient to which data, report or other information will be sent
The API call to return recipient details and corresponding report and schedule sending details
The API call to delete a Recipient of an email report(s)
The API call to update the company’s Agent Chat setting
{"Settings":[{"CompanyName":"Channel"}]}
The API call to return the company’s Agent Chat settings and messages