GET Requests
Send a GET request to each of the specified GET endpoints to retrieve employee data in bulk:
- Make a query in the /v1/bulk_collect/{data_request_id}/files endpoint to see the status of your data request. Collect the file name to use further.
- Collect the data request ID and the file name. Make a query in the /v1/bulk_collect/{data_request_id}/files/{file_name} endpoint and download the job posting data in a json.gz file.
See the list of possible error codes.
You can download the prepared dataset as many times as you like within 30 days of the query submission.
Send a GET request to the endpoint /v1/bulk_collect/{data_request_id}/files to see the status of your data request.
Collect the file name for further usage in request to the /v1/bulk_collect/{data_request_id}/files/{file_name} endpoint.
- Take the data request ID (obtained from any of the job POST endpoints).
- Paste it in the following cURL request instead of {request_id}:
- Paste your Company API token instead of {JWT}.
- Import the cURL request to any API-compatible application.
- Send the request.
- If you do not see a file name, the data request is not ready. Send the request again until you can see the file name.
- Retrieve the file name.
- Each JSON.gz file contains a maximum of 10,000 JSON records. If you submitted more than 10,000 IDs or your filter request returned more than 10,000 profiles, you will see several file names.
The following message indicates that your query is too expensive.
Try adding "limit": {integer}parameter to your query.
Request downloadable files by making a GET request to the /v1/bulk_collect/{data_request_id}/files/{file_name} endpoint.
- Paste the data request ID and file name in the following template:
The data request ID is obtained via the POST requests. The file name is obtained using the data request ID in the /v1/bulk_collect/{data_request_id}/files endpoint.
- Insert your Company API token instead of {JWT}.
- Import the cURL to any API-compatible application.
- If you use Postman, click the arrow down and select Send and Download:
Check for similar methods to retrieve the file using other API-compatible applications.