Skip to main content
GET
/
v1.0
/
account
/
message
/
routes
Message Account Routes List
curl --request GET \
  --url https://api.telegent.com/v1.0/account/message/routes \
  --header 'Authorization: Bearer <token>'
{
  "AccountID": "DID-eab92510-1040-45a5-bb9c-0bad927SDY878W",
  "TotalRoutes": 2,
  "Results": [
    {
      "MessageRouteId": "MRID-ad0ff867-57dc-4aeb-80e9-9d18349080e9",
      "AccountID": "DID-eab92510-1040-45a5-bb9c-0bad927SDY878W",
      "RouteName": "Main SMS Webhook",
      "MessageUrl": "https://apiendpoint.com",
      "MessageUrlMethod": "POST",
      "MessageRouteEnabled": false,
      "MessageAuthenticationType": "Basic",
      "MessageUsername": "admin",
      "MessagePasswordToken": "passwordORbearerToken",
      "CallbackMessageUrl": "https://apiendpoint.com",
      "CallbackMessageUrlMethod": "POST",
      "CallbackMessageAuthenticationType": "Basic",
      "CallbackMessageUsername": "admin",
      "CallbackMessagePasswordToken": "password"
    },
    {
      "MessageRouteId": "MRID-ad0ff867-57dc-4aeb-80e9-9d18349080e9",
      "AccountID": "DID-eab92510-1040-45a5-bb9c-0bad927SDY878W",
      "RouteName": "Main SMS Webhook",
      "MessageUrl": "https://apiendpoint.com",
      "MessageUrlMethod": "POST",
      "MessageRouteEnabled": false,
      "MessageAuthenticationType": "Basic",
      "MessageUsername": "admin",
      "MessagePasswordToken": "passwordORbearerToken",
      "CallbackMessageUrl": "https://apiendpoint.com",
      "CallbackMessageUrlMethod": "POST",
      "CallbackMessageAuthenticationType": "Basic",
      "CallbackMessageUsername": "admin",
      "CallbackMessagePasswordToken": "password"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Response

200 - application/json

Message Account Routes List

The response is of type object.