Create a new message route to configure how inbound SMS/MMS messages are handled. Specify webhook URLs for message delivery, fallback URLs, and HTTP methods. Each route is identified by a unique MRID (Message Route ID).
Enter the token obtained from the Authentication endpoint
Friendly name for the message route
"Main SMS Webhook"
Primary webhook URL for inbound messages
"https://apiendpoint.com"
HTTP method for webhook delivery
GET, POST "POST"
Enable or disable this message route
true
Authentication type for primary webhook
None, Basic, Bearer "Basic"
Username for Basic auth (if applicable)
"admin"
Password for Basic auth or token for Bearer auth
"passwordORbearerToken"
Fallback/callback webhook URL
"https://apiendpoint.com"
HTTP method for callback webhook
GET, POST "POST"
Authentication type for callback webhook
None, Basic, Bearer "Basic"
Username for callback Basic auth
"admin"
Password/token for callback auth
"password"
Create Message Route
The response is of type object.