Add route
Add a new route to an inbound domain or SMS program. Provide either domain or phone (not both).
Request
This endpoint expects an object.
key
A valid Mandrill API key
domain
An existing inbound domain (required if phone is not provided)
phone
The SMS program phone number - the TO number that receives inbound SMS (required if domain is not provided)
pattern
For email: the mailbox pattern (e.g., “mailbox-*”). For SMS: not used, the phone number is the pattern.
url
The webhook URL where the inbound messages will be published
Response
Success
Errors
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error