post https://api-approval.tingg.africa/v1/oauth/token/request
Every request made to the extra functions API is authorized using an access_token which is obtained by sending a client_secret and client_id to the authentic
NB:
For security reasons, the authentication token expires in 60 minutes. It is advisable, you generate a token before each request.
Parameters
Header
Key | Value Type | Required | Description |
---|---|---|---|
apikey | String | Yes | app consumer key. |
Content-Type | String | Yes | application/json. |
Body
Key | Value Type | Required | Description |
---|---|---|---|
client_id | String | Yes | API client ID. |
client_secret | String | Yes | API client secret. |
grant_type | String | Yes | The grant expected by the OAuth server. |
{
"client_id": "JOHNDOESERVICE123",
"client_secret": "BLXBeUyndtTTASXwTFZbgdDVKWeQnFUEHbXj",
"grant_type": "client_credentials"
}