صادقSadq®
Admin
Authentication/Obtain Access Token

Obtain Access Token

POSTBasic Auth

Obtain a JWT Bearer token using Basic Auth. Pass your Client ID as username and Client Secret as password in the Authorization header (Base64-encoded). The body must be form-encoded with grant_type=integration plus user credentials. The returned access_token must be included as a Bearer token in all subsequent API requests.

Headers

KeyValueRequired
AuthorizationBasic Base64(clientId:clientSecret)Required
Content-Typeapplication/x-www-form-urlencodedRequired

Try It

grant_type
username
password
accountId
accountSecret

Request URL

https://sandbox-api.sadq-sa.com/Authentication/Authority/Token