public function addRoute(string
$domain,
string
$pattern,
string
$url )
Parameters
$domain
—
string
an existing inbound domain
$pattern
—
string
the search pattern that the mailbox name should match
$url
—
string
the webhook URL where the inbound messages will be published
Returns
struct
the added mailbox route information - id string the unique identifier of the route
- pattern string the search pattern that the mailbox name should match
- url string the webhook URL where inbound messages will be published