Sends
A send is one message written for an audience — a class, one parent, or everyone linked to one student — the same send a person writes on the compose screen. It takes two calls: a draft is only written down, and nothing goes until you publish it. Through the API a send is plain text, by SMS and by email: WhatsApp only carries wording Meta has approved outside its 24-hour reply window, so plain text never goes that way. Recording an event is the other way messages are made, by your rules.
GETPreview a send
Requires sends:read. Who it would reach and what it would cost, before it goes, counted the way the send itself will be: a retired class, an inactive student and a parent who is blocked or opted out are already gone from it. messages is what is billed; sms_parts is per text.
200 with the counts and who, by name. 503 when the instance's senders cannot be read just now: no honest count can be given.
One preview: the same fields in every pack. Press Response on the sample to see one whole.
On failure the body is { error, code } instead.