DocsAfrica's TalkingAfrica's Talking
Setting up Africa's Talking
Set it up in test mode first where Africa's Talking offers one, and switch to live when a test has worked. Allow an hour, plus any time that Africa's Talking needs to approve your account.
2 min read


What you need first
- An Africa's Talking account (africastalking.com) with an app created in it, and credit on that app to send live messages.
Your keys and where to find them
| Field | Where it comes from |
|---|---|
| Username | The username of your Africa's Talking app. In Test it is always the word sandbox. |
| API key | In the Africa's Talking dashboard, open your app (or the Sandbox app for Test), then Settings > API Key, type your password and click Generate. Copy the key at once: it is shown only one time. |
| Delivery reports | In the Africa's Talking dashboard, SMS > SMS Callback URLs: paste the webhook address shown on the gateway. |


Set it up
- Get the Africa's Talking add-on and switch it on under Settings›Apps & Features.
- Open Settings›SMS gateways and pick Africa's Talking in the list of gateways.
- Choose Test, enter the keys from your Africa's Talking account under Test and click Save.
- Click Test connection. A green line means Africa's Talking accepted the saved keys.
- To see delivery reports and STOP replies, turn on Delivery reports and replies, click Save, and copy the webhook address shown into your Africa's Talking account (the table above says where).
- Click Use as default if every app should send through Africa's Talking.
- When the test messages look right, fill the Live set, choose Live and click Save.
Test and live
Every connection keeps two sets of keys: one for Test and one for Live. You can fill both at any time; the state decides which one is used.
In Test, Africa's Talking does not deliver to real phones (or only to the numbers you verified with Africa's Talking) and uses no paid credit.
Live is a state: choose Live and click Save. Until the Live set is filled it is refused with "Enter the live credentials before switching Africa's Talking to Live." From then on messages reach real phones and are charged. You can switch back to Test or Inactive at any time; nothing is deleted.