/
WebsiteSupport

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

Settings > Integrations, where every connection lives. Each one starts in Test.
Settings > Integrations, where every connection lives. Each one starts in Test.

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

FieldWhere it comes from
UsernameThe username of your Africa's Talking app. In Test it is always the word sandbox.
API keyIn 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 reportsIn the Africa's Talking dashboard, SMS > SMS Callback URLs: paste the webhook address shown on the gateway.
The product carries its own help page for Africa's Talking, with these steps beside the Add button.
The product carries its own help page for Africa's Talking, with these steps beside the Add button.

Set it up

  1. Get the Africa's Talking add-on and switch it on under SettingsApps & Features.
  2. Open SettingsSMS gateways and pick Africa's Talking in the list of gateways.
  3. Choose Test, enter the keys from your Africa's Talking account under Test and click Save.
  4. Click Test connection. A green line means Africa's Talking accepted the saved keys.
  5. 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).
  6. Click Use as default if every app should send through Africa's Talking.
  7. 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.

See also