Skip to main content
POST
/
v1.0
/
message
/
routes
/
update
json
{
  "MessageRouteId": "MRID-01711e7e-c158-4de7-831f-673ab9fdaaa9",
  "RouteName": "Main SMS Webhook",
  "MessageUrl": "https://apiendpoint.com",
  "MessageUrlMethod": "GET",
  "MessageRouteEnabled": true,
  "MessageAuthenticationType": "Basic",
  "MessageUsername": "admin",
  "MessagePasswordToken": "passwordORbearerToken",
  "CallbackMessageUrl": "https://apiendpoint.com",
  "CallbackMessageUrlMethod": "POST",
  "CallbackMessageAuthenticationType": null,
  "CallbackMessageUsername": null,
  "CallbackMessagePasswordToken": null,
  "InboundBypass": true,
  "OutboundBypass": true,
  "IntelligentRouteEnabled": true,
  "AccountId": "AID-ab12345-2725-45a1-bd5e-526ed19799xx"
}
{
  "MessageRouteId": "MRID-01711e7e-c158-4de7-831f-673ab9fdaaa9",
  "AccountId": "AID-ab12345-2725-45a1-bd5e-526ed19799xx",
  "RouteName": "Main SMS Webhook",
  "MessageUrl": "https://apiendpoint.com",
  "MessageUrlMethod": "GET",
  "MessageRouteEnabled": true,
  "MessageAuthenticationType": "Basic",
  "MessageUsername": "admin",
  "MessagePasswordToken": "passwordORbearerToken",
  "CallbackMessageUrl": "https://apiendpoint.com",
  "CallbackMessageUrlMethod": "POST",
  "CallbackMessageAuthenticationType": null,
  "CallbackMessageUsername": null,
  "CallbackMessagePasswordToken": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.telegent.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Body

application/json
MessageRouteId
string
required

Message Route ID to update

Example:

"MRID-01711e7e-c158-4de7-831f-673ab9fdaaa9"

RouteName
string

Friendly name for the message route

Example:

"Main SMS Webhook"

MessageUrl
string<uri>

Primary webhook URL

Example:

"https://apiendpoint.com"

MessageUrlMethod
enum<string>

HTTP method

Available options:
GET,
POST
Example:

"GET"

MessageRouteEnabled
boolean

Enable/disable route

Example:

true

MessageAuthenticationType
enum<string>

Authentication type

Available options:
None,
Basic,
Bearer
Example:

"Basic"

MessageUsername
string

Username for Basic auth

Example:

"admin"

MessagePasswordToken
string

Password or Bearer token

Example:

"passwordORbearerToken"

CallbackMessageUrl
string<uri>

Callback webhook URL

Example:

"https://apiendpoint.com"

CallbackMessageUrlMethod
enum<string>

Callback HTTP method

Available options:
GET,
POST
Example:

"POST"

CallbackMessageAuthenticationType
enum<string>

Callback authentication type

Available options:
None,
Basic,
Bearer
CallbackMessageUsername
string

Callback username

CallbackMessagePasswordToken
string

Callback password/token

InboundBypass
boolean

Bypass AI Guardian filtering for inbound messages on this route

Example:

true

OutboundBypass
boolean

Bypass AI Guardian filtering for outbound messages on this route

Example:

true

IntelligentRouteEnabled
boolean

Enable intelligent routing features (AI-assisted message routing)

Example:

true

AccountId
string

Account ID associated with this message route

Example:

"DID-eab92510-1040-45a5-bb9c-0bad927SDY878W"

Response

200 - application/json

Update Message Route

The response is of type object.