We use cookies to enhance your experience on our website. Some are essential for the site to function, while others help us understand how you use the site.
Search across all modules, people, and actions
Contact us to receive your client_id and client_secret
Exchange credentials for an access token
Call API endpoints with your access token
https://api.aqlhr.ai/v1Bearer Token (OAuth 2.0)/auth/tokenExchange client credentials for an access token
// Authentication
const response = await fetch('https://api.aqlhr.ai/v1/auth/token', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
client_id: 'your_client_id',
client_secret: 'your_client_secret',
grant_type: 'client_credentials'
})
});
const { access_token, expires_in } = await response.json();Note: Access tokens expire after 1 hour. Implement token refresh logic in your application.
| Plan | Requests/min | Requests/day | AI Queries/day |
|---|---|---|---|
| Starter | 60 | 10,000 | 100 |
| Professional | 300 | 100,000 | 1,000 |
| Enterprise | Unlimited | Unlimited | Custom |
npm install @aqlhr/sdkAvailablepip install aqlhrComing Sooncomposer require aqlhr/sdkComing Soon