Request Headers

These are the standard request headers that are needed when authenticating with the API.

When using a username and API Key

Parameter Description
apiKey
String
Required
Africa's Talking application apiKey.
Content-Type
String
Required
The requests content type. Can be application/x-www-form-urlencoded or application/json
Accept
String
Optional
The requests response type. Can be application/json or application/xml. Defaults to application/json

When using an Auth Token

Parameter Description
authToken
String
Required
Generated Auth Token
Content-Type
String
Required
The requests content type. Can be application/x-www-form-urlencoded or application/json
Accept
String
Optional
The requests response type. Can be application/json or application/xml Defaults to application/json