Replaces how the practice's request texts (the texts client send steps add to their emails) and chase texts choose between WhatsApp and SMS, read on the practice's messaging as requestTextRouting: SmsOnly; KnownNumbers (the default: WhatsApp to a number known to be on WhatsApp when the kind's WhatsApp template has an approved version and WhatsApp is connected; SMS otherwise); or TryWhatsAppFirst (as KnownNumbers, and a number never tried on WhatsApp gets one WhatsApp attempt, the SMS following when the person is not on WhatsApp, after which the number stays on SMS). Decided per number when each text goes. Returns the routing as saved. 400 when routing is missing or not one of those; 409 messaging_not_set_up when the practice has not switched messaging on.
Requires: Admin on Messaging.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"routing": "SmsOnly"
}