Authentication is handled via standard OAuth 2.0 using Client Credential grant type to generate an access token.
POST
grant_type: must be client_credentials
client_id: the unique client-id provisioned for access
client_secret: the unique client-secret provisioned for access
curl -X POST ‘https://companalystapi.salary.com/cloud/v1/token?grant_type=client_credentials&client_id={CLIENT_ID} &client_secret={CLIENT_SECRET}’ \ -H 'accept: */*'
{ "access_token": "abcd1234-5678-90ef-ghij-klmnopqrstuv", "token_type": "Bearer", "expires_in": 3600 }
Pass this access_token in subsequent API requests in the Authorization: Bearer header.