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

Preview Workflow Step Text

GET /tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}/text-preview

What a Send Text Message step would do if it ran now: each contact it would text (name, mobile, the text rendered for them, whether the number is known on WhatsApp, and whether an earlier run already texted them), each person it would miss and why (no contact of a type, no mobile, a number that cannot be read, on the do-not-text list), the reasons that would stop it texting anyone (blockers, worded as the blocked step shows them), and heldUntil (UTC) when the step is automatic and a run now would wait for the practice's quiet hours. No cost is shown. Nothing is sent or stored. 400 for a step of another type.

Requires: ViewAll on Tasks.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

groupNumber* path integer (int32)
stepNumber* path integer (int32)
taskCode* 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
404 Not Found