BullhornHub Advanced icon

BullhornHub Advanced

Full CRUD operations for Bullhorn CRM/ATS via BullhornHub SDK

Lead → Get Many

AI-generated

Summary

Retrieve multiple Lead records from Bullhorn using a JPQL WHERE clause with optional field selection and result limit.

Inputs

  • authentication (required) — Choose between User Credentials (Email & Password) or Enterprise Credentials (API Key) for authentication.
  • fields (required) — Specify Bullhorn Lead fields to return. You can rename output fields by setting an Output Name; leave empty to keep original field names.
  • limit (required) — Maximum number of Lead records to return, between 1 and 500 (default 20).
  • where (required) — JPQL WHERE clause to filter leads (e.g., "id > 0" or "status = 'Active'").
  • hideDeleted — Whether to automatically exclude deleted or archived leads, adding an isDeleted filter or excluding status=Archive where applicable (default true).
  • outputFields — Add additional constant or input fields to include in every output item, merged into the results.

Output shape

a list of Lead records matching the query

The operation uses the Bullhorn /query endpoint internally, returning up to the specified limit of Lead entities matching the WHERE clause with the requested fields. Deleted or archived leads are excluded by default if hideDeleted is true. Field names can be renamed in the output. No pagination beyond the limit is supported in this operation.

Examples

Example 1: Retrieve active leads with custom fields

Set authentication to Enterprise Credentials, specify fields like 'id' and 'name' with optional output renames, use where clause "status = 'Active'", set limit to 50, and enable hideDeleted to exclude archived records.

Links

Discussion