AcquisityDeveloper Docs
Leads

Search leads and export them

POST
/v1/workspaces/{workspaceId}/leads/search

Authorization

bearerAuth
AuthorizationBearer <token>

Paste the full personal access token or organization API key value. Examples: acq_live_..., acq_org_.... Tokens can be limited to resource/action scopes such as workspaces:read, people:write, and deals:write.

In: header

Path Parameters

workspaceId*string

Workspace id.

Formatuuid

Header Parameters

idempotency-key*string

Client-provided key that makes retries safe. HTTP header names are case-insensitive; send Idempotency-Key or idempotency-key. Send the same key + same body to replay a completed operation (HTTP 200); reusing the key with a different body returns HTTP 409. Recommended: a v4 UUID.

Length1 <= length <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Search for matching leads and export them (with verified emails) as a downloadable CSV. Paid, once-only. The export is delivered via the lead_search.completed webhook and is also readable from the operation resource.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/leads/search" \  -H "idempotency-key: string" \  -H "Content-Type: application/json" \  -d '{    "filters": {},    "leadCount": 100  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "succeeded",  "links": {    "self": "http://example.com"  }}
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "queued",  "links": {    "self": "http://example.com"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}