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

Get Do Not Text Number

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

One number's place on the practice's do-not-text list: each channel's entry (null when that channel is not stopped; both null when the number is not on the list) and the contacts whose mobile it is. Any format of number is read (07700 900123, +447700900123 escaped as %2B447700900123). 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: ViewAll 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 – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
409 Conflict
503 Service Unavailable