Create an inbound (MO) SMS routing rule
Messages
Create an inbound (MO) SMS routing rule
Creates a routing rule. Body fields - name, matchType (number | sender | keyword | regex), matchValue, targetType (webhook | queue | inbox | team | ivr | auto_reply), targetConfig (validated per target type — a webhook requires an HTTPS url plus optional signing secret), optional priority (default 100), optional enabled (default true), and optional description. A regex matchValue is compiled at write time so a bad pattern is rejected with 422. Returns 201 with the created rule (the webhook secret is returned once, in clear, on create). Owner / admin role required.
POST
Create an inbound (MO) SMS routing rule
Authorizations
Dashboard JWT token from Clerk
Response
200
Default Response