Introduction
Africastalking puts great effort in providing content, application and service developers with an easy-to-use RESTful API. This abstraction takes away the pain of configuring connections to Mobile Service Providers across Africa so that you can focus on your business logic.
Using the API:
To start out, you need to set up an account on the site . Next you will need to generate a test api key.
Upon generating the key, make sure you copy and store the key string as we do not store it in its plaintext state. You will need to generate a new key if you lose it without saving.
With the key, you can now make requests to the API api url and pass in parameters as necessary to achieve what you want to do. We strongly recommend that you use our convenient helper classes which simplify connecting to our gateway to a few lines of code.
API parameters
You will need at least the following :

  • API URL: - Will depend on the action you want to execute. You will find it in the relevant documentation section.
  • API KEY: - This is generated from your account dashboard.
  • REQUEST PARAMETERS : These Will depend on the action you want to execute. You will find it in the relevant documentation section.

  • You will need to send the API Key as a HTTP Header from your application to the API Server. Please find out how to do this depending on your development platform.