Agent Login API

To make a agent API request you need to generate the agent token. The agent token can generated using agent id and password, get the agent id and password in the TeleCMI CHUB dashboard. After getting the agent id and password, make a POST request to the below base URL to generate the unique agent token.

Base URL

Send your POST method request with valid parameters, to the following base URL.

Required Parameters

These are the required POST method parameters with description

Parameter NameDescription
idYour agent id
passwordYour agent password

Sample JSON Request

Below is the following sample JSON POST method request

"id": "103_1111113",
"password": "abc123"

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": "Agent loged in successfully",
"token": "xxxx-xxxx-xxxx-xxxx",
"agent": {
"id": "103_1111113",
"inet_no": 1111113,
"name": "Prasath Sekar"


These are the list of properties and its description

msgYour agent id and password is authenticated and logged in sucessfully
tokenYour agent unique token
agentYour agent information in detail
idYour agent id
inet_noYour app id
NameYour agent name

HTTP status codes

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

Status codeStatus codeDescription
200OKWe received the request
404ErrorInvalid agent id or password, authentication failed