POST
Each entry in envelopes carries its own message text, so a single call can send different messages to different recipients.

Request

string
required
The approved sender ID recipients will see. Maximum 11 characters. Must be registered and approved on your account — see Sender IDs.
object[]
required
One entry per message. At least one is required.
string
deprecated
Accepted and echoed back for compatibility with the older platform, but nothing is posted to it. Delivery information is obtained by polling — see Delivery status. Do not build a flow that waits on it.
Every envelope is charged separately, because each carries its own message. Sending the same text to 500 recipients costs 500 credits (more if the text spans several parts) — it is not billed once for a shared body.

Response

integer
Credits remaining after this request.
object[]
One entry per envelope.