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

Add Do Not Text Number

PUT /tenants/{tenant}/practice/messaging/do-not-text/{number}

Puts the number on the practice's do-not-text list for both SMS and WhatsApp, keeping an entry a client's STOP made; workflow steps, request and chase texts and the Messages page then send it nothing. Safe to repeat. Returns the number as it now stands. Contact editors may add a number a contact holds; a number on no contact needs Messaging Admin (403). 400 for a number that cannot be read; 409 messaging_not_set_up while the practice's messaging is not set up; 503 when the Messaging Service is unavailable.

Requires at least one of: Update on Contacts or Admin on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

number* path string

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden
409 Conflict
503 Service Unavailable