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

Summarise Text Broadcast Audience

POST /tenants/{tenant}/text-broadcasts/audience-summary

Evaluates a client selection before a draft exists and returns how many clients it resolves to and how many of them do not allow texts; given contact types, also the numbers that would be texted, the clients with no usable mobile and the numbers on the do-not-text list. Read-only.

Requires: Create on EmailBroadcasts.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "savedViewCode": "string",
  "filter": {
    "managerCodes": [
      "..."
    ],
    "partnerCodes": [
      "..."
    ],
    "associateCodes": [
      "..."
    ],
    "statuses": [
      "..."
    ],
    "types": [
      "..."
    ]
  },
  "excludedClientCodes": [
    "string"
  ],
  "additionalClientCodes": [
    "string"
  ],
  "recipientContactTypes": [
    "Main"
  ]
}

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