Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bulk Collect: Jobs API

Overview

Discover the Bulk Collect (Bulk API) capabilities and explore potential uses for efficiently retrieving employee data in batches. Find all Bulk Collect related information in the following topic:

Endpoints

Endpoint

GET /v2/data_requests/{data_request_id}/files

GET /v2/data_requests/{data_request_id}/files/{file_name}

Limiting returned record count

Include the parameter "limit": int to control the number of records returned by your queries in /v2/data_requests/job_multi_source/es_dsl endpoint.

Request example to retrieve five records

Elasticsearch DSL example
curl -X 'POST' \
'https://api.coresignal.com/cdapi/v2/data_requests/job_multi_source/es_dsl' \
  -H 'accept: application/json' \
  -H 'apikey: {API Key}' \
  -H 'Content-Type: application/json' \
  -d '{
   "webhook_url": "{optional_webhook_url}",
   "limit": 5,
   "es_dsl_query": {
      "query": {
         "match":{
            "location":{
               "query":"New York",
               "operator":"and"
            }
         }
      }
   }
}'

Rate limits

Bulk Collect endpoints have a limited number of requests allowed per second. Learn about rate limits for Bulk Collect requests.

Webhooks

POST endpoints allow you to add webhooks and get notified when your data request is ready.

Keep in mind that webhook_url is optional.

Last updated

Was this helpful?