Authentication
Authenticate every request with a Bearer token. The grant is 2-legged Indeed OAuth (client credentials). You register the OAuth application, send Indeed the client id, and keep the client secret. You do not sign in through a browser as an employer user.
This guide does not list a client id.
Register the OAuth application
Register a two-legged OAuth application at https://secure.indeed.com/account/apikeys.
Keep the client secret confidential. Do not put it in client-side code or a public repository.
Indeed binds that client id to one employer id and one deployment code. The OAuth application does not choose the employer. Calls return data for that employer only.
Get an access token
Exchange the client id and client secret for an access token. Obtain a token from POST https://secure.indeed.com/oauth/v2/tokens with grant_type=client_credentials and scope=employer_access:
curl -X POST https://secure.indeed.com/oauth/v2/tokens \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Accept: application/json" \ -d "client_id=YOUR_CLIENT_ID" \ -d "client_secret=YOUR_CLIENT_SECRET" \ -d "grant_type=client_credentials" \ -d "scope=employer_access"A successful response returns an access token:
{ "access_token": "YOUR_ACCESS_TOKEN", "token_type": "Bearer", "expires_in": 3600, "scope": "employer_access"}| Field | Description |
|---|---|
access_token | The Bearer token to include in API requests. |
token_type | Always Bearer. |
expires_in | Token lifetime in seconds. |
scope | The scope on the token. |
Authenticate a request
Send every report request as POST to https://sts-analytics-reporting.indeed.com. The path is /v1/reporting/{employer}/reports/.... {employer} is me or the numeric employer id bound to your client id. me means that employer. Any other employer id returns 403 Forbidden.
Include the access token in the Authorization header:
curl -X POST "https://sts-analytics-reporting.indeed.com/v1/reporting/me/reports/shift_fulfilment?from_date=2026-01-01&to_date=2026-01-31" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '[]'Report paths accept POST.
Headers the API ignores
The employer comes from the binding on your client id, and the access token carries no user, so a report request cannot select an employer, a user, or an impersonated user through headers. The API ignores these headers on report requests:
X-Employer-IdX-Deployment-CodeX-Employer-NameX-Country-CodeX-User-IdX-Impersonating-User-IdX-User-AuthorizationX-Organization-Id
None of these headers causes a refusal, and none of them changes the response. The token, the employer id in the path, and the rate limit decide the status exactly as they would without the header. When the request succeeds, it returns data for the employer bound to your client id, and the response does not report the header. To read data for another employer, register a client id bound to that employer.
The API reads X-Correlation-ID. See Add a correlation ID.
Refresh an expired token
Read expires_in for the token lifetime. When the token expires, request a new one with the same client credentials flow.
- Cache the token until it is close to expiry.
- Request a new token before the current one expires.
- When a request returns
403 Forbidden, get a new token and retry once. An expired token returns403.
Add a correlation ID
You can include an X-Correlation-ID header for tracing across systems. If you omit it, a correlation ID is generated for the request.
curl -X POST "https://sts-analytics-reporting.indeed.com/v1/reporting/me/reports/shift_fulfilment?from_date=2026-01-01&to_date=2026-01-31" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "X-Correlation-ID: your-unique-request-id" \ -H "Content-Type: application/json" \ -d '[]'Error responses
Every authentication failure returns 403 Forbidden. A missing Authorization header, a scheme other than Bearer, and an expired, altered, or unrecognised token all return 403. Get a new access token and retry once. When 403 repeats, check that the employer id in the path is the one bound to your client id.
| Status code | Meaning |
|---|---|
403 Forbidden | The Bearer token is missing, expired, or invalid, or the employer id in the URL is not the employer bound to this client id. me means that employer. |
404 Not Found | The path is not a reporting endpoint. |
429 Too Many Requests | Rate limit exceeded. See Rate limiting for details. |
504 Gateway Timeout | The upstream service did not respond in time. Retry after a short delay. |