Callback Action
Each agent API request in TeleCMI platform includes agent login token. After getting the agent login token, make a POST request to the below base URL to remove the calls from callback list.
Base URL
Send your POST method request with valid parameters, to the following base URL.
https://piopiy.telecmi.com/v1/callbackAction
Required Parameters
These are the required POST method parameters with description
Parameter Name | Type | Description |
---|---|---|
*token | string | Your agent token |
*from | number | The phone number of the missed call |
Note
The * marked parameter is mandatory.
Sample JSON Request
Below is the following sample JSON POST method request
{
"token": "xxxx-xxxx-xxxx-xxxx",
"from": 9100000000
}
Sample Response
If the provided information is valid, your web server will get a sample response from TeleCMI Platform as given below
{
"code": 200,
"number": 9100000000,
"msg": "action completed"
}
Properties
These are the list of properties and its description
Property | Type | Description |
---|---|---|
number | number | The phone number for the callback action |
msg | string | The callback action completed |
HTTP status codes
TeleCMI API platform represents the following status code to identity the errors.
Status code | Status code | Description |
---|---|---|
200 | OK | We received the request |
404 | Error | Invalid agent token, authentication failed |