Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Update Messaging Request Text Routing

PUT /tenants/{tenant}/practice/messaging/request-text-routing

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

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "routing": "SmsOnly"
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
409 Conflict