Generating Access Token
Endpoint: https://account.mobilesasa.com/oauth/token
The access_token returned from the response is the one added the Authorization header after the Bearer clause in the other endpoints.
# | Headers | Params | Response |
---|---|---|---|
1 | Content-Type: application/json |
|
|
2 | Accept: application/json | ||
3 | Authorization: Bearer access_token |
Curl example:
curl -X POST \
https://account.mobilesasa.com/oauth/token \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"grant_type":"client_credentials",
"client_secret":"your_client_id",
"client_id":"your_client_secret"
}'