Skip to main content

Callback Action

Each user API request in TeleCMI platform includes user login token. After getting the user 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://rest.telecmi.com/v2/callback/action

Required Parameters​

These are the required POST method parameters with description

Parameter NameTypeDescription
tokenstringYour user token
phone_numbernumberThe phone number of the missed call
Note
All the above parameters are mandatory.

Sample JSON Request​

Below is the following sample JSON POST method request

{
"token": "xxxx-xxxx-xxxx-xxxx",
"phone_number": 919600000000
}

Sample Response​

If the provided information is valid, your web server will get a sample response from TeleCMI Platform as given below

{
"code": 200,
"msg": "action completed"
}

Properties​

These are the list of properties and its description

PropertyTypeDescription
msgstringThe callback action completed

HTTP status codes​

TeleCMI API platform represents the following status code to identity the errors.

Status codeStatus typeDescription
200OKWe received the request
404ErrorInvalid user token, Failed to authenticate token, Phone number not available
400ErrorParameter missing