Properties
| Name | Type | Description |
|---|---|---|
| status | enum | Unavailable Off SettingUp AwaitingNumber Active |
Unavailable Off SettingUp AwaitingNumber Active | ||
| isServiceAvailable | boolean | False when messaging is unavailable, or when the Messaging Service could not be reached for the |
False when messaging is unavailable, or when the Messaging Service could not be reached for the | ||
| enabledDate | string | When messaging was switched on; null while it is off |
When messaging was switched on; null while it is off | ||
| enabledByUserName | string | Who switched messaging on; null while it is off |
Who switched messaging on; null while it is off | ||
| senders | array of PracticeMessagingSenderDto | The numbers the practice sends from, one per channel at most. Null when not read: before the |
The numbers the practice sends from, one per channel at most. Null when not read: before the | ||
| numberApplication | PracticeMessagingNumberApplicationDto | |
| PracticeMessagingWhatsAppDto | ||
| hasConversations | boolean | The practice has message conversations. They are kept when its number is cancelled, so their history stays |
The practice has message conversations. They are kept when its number is cancelled, so their history stays | ||
| hasPayableMandate | boolean | The practice has a Direct Debit that can collect (active, or new and not yet collected on). Applying for a number, |
The practice has a Direct Debit that can collect (active, or new and not yet collected on). Applying for a number, | ||
| twilioAccountSid | string | The practice's Twilio subaccount SID (AC...). Only the superadmin read sets it; null on the practice's own routes, |
The practice's Twilio subaccount SID (AC...). Only the superadmin read sets it; null on the practice's own routes, | ||
JSON Example
{
"status": "Unavailable",
"isServiceAvailable": false,
"enabledDate": "2024-01-01T00:00:00Z",
"enabledByUserName": "string",
"senders": [
{
"channel": "...",
"address": "...",
"isOwnedNumber": "...",
"isSandbox": "..."
}
]
}
Used By Operations
-
GET
Get Practice Messaging
/tenants/{tenant}/practice/messaging
-
POST
Enable Messaging
/tenants/{tenant}/practice/messaging
-
POST
Withdraw Messaging Number Application
/tenants/{tenant}/practice/messaging/number-application/withdraw
-
POST
Cancel Messaging Number
/tenants/{tenant}/practice/messaging/number/cancel
-
POST
Connect WhatsApp
/tenants/{tenant}/practice/messaging/whatsapp