POST
/
generate-token
curl --request POST \
  --url https://api.clickpesa.com/third-parties/generate-token \
  --header 'api-key: <api-key>' \
  --header 'client-id: <client-id>'
{
  "success": true,
  "token": "Bearer token"
}

Headers

client-id
string
required

Your Application Client ID.

api-key
string
required

Your Application API Key.

Response

200
application/json

Generate token response

The response is of type object.