Send SMS
africastalking_send_smsWRITE: send one text message to up to 100 phone numbers. Spends account credit and delivers to real phones (the sandbox app only reaches the simulator). Needs confirm=true after the user approved the recipients and text. Returns the vendor's per-recipient status (statusCode 101 = sent), message ids and cost. Never retried. POST /version1/messaging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipients in international format, e.g. +254711000000 (max 100). | |
| confirm | Yes | Must be true. Set it only after the user has explicitly approved this exact send (recipients, text/amount); it spends account credit. | |
| message | Yes | The SMS text (1-1600 characters; long texts are split into several billed parts). | |
| sender_id | No | Approved alphanumeric sender ID, shortcode or long-code number (e.g. +27... in South Africa); omit to use the account default. |