The Call Center APIs enhance the interactions between your agents and clients by integrating with third-party applications, allowing for the initiation and logging of calls, and sharing information.
Key Features of Call Center APIs:
Call Context API: Deliver contextual information to agents during calls.
Click-to-Call: Enable agents to initiate calls with a single click.
Call Log Notifications: Receive notifications about call logs.
Call Context API
To utilize this API, you need to set up a callback URL on your virtual number. Whenever a call (outbound or inbound) connects, a request is sent to the specified URL, and the response is shown on the agent’s web dialer interface. If the request fails, the call continues without displaying the contextual data.
To configure the URL:
Go to CHANNELS.
Select PHONE NUMBERS.
In the list of phone numbers, find the number you want to configure and click VIEW.
On the configuration page, under Integrations, enter your URL in the Call Context URL field and click SAVE.
For detailed information on the request payload, refer to the Call Context documentation.
The contextual data is shown on the web dialler as shown below:
Click-to-Call
The Click-to-Call feature allows agents to initiate a call without using Mteja’s web application directly. By having the recipient’s phone number, you can create a link that redirects the agent to a Mteja tab, where the call is automatically initiated. Note that this feature is available only on the web application.
Creating Your Own Link
To create a custom Click-to-Call link, use the following format: https://app.mteja.io/teams/[team_id]/apps/[app_id]/actions/call/[+2547XXXXXXXX]
[team_id]: Your Mteja Team ID
[app_id]: Your Mteja App ID
[+2547XXXXXXXX]: The recipient's full phone number in international format
You can find your team ID and app ID in the URL bar when logged into your Mteja account. For example, in the URL below, the team ID is 1 and the app ID is 2.
Call Log Notifications
To utilize this API, you need to set up a callback URL on your virtual number. Whenever a call ends, a request with the call log information will be sent to the specified URL.
To configure the URL:
Go to CHANNELS.
Select PHONE NUMBERS.
In the list of phone numbers, find the number you want to configure and click VIEW.
On the configuration page, under Integrations, enter your URL in the Call Logs webhook field and click SAVE.
For detailed information on the request payload, refer to the Call Log Notification documentation.