---
search:
  tags:
    - customers
    - POST
seo:
  description: >-
    Create customer pull lead. Reference for the POST
    /workspaces/{organizationId}/customers/pull-leads endpoint in the Pile API.
sidebar:
  label: Create customer pull lead
  badge: POST
title: Create customer pull lead
type: openapi-operation
---
`POST /workspaces/{organizationId}/customers/pull-leads`

**Request body** (`application/json`)

- `preset` (string)
- `borough` (string)
- `limit` (integer)
- `offset` (integer)
- `ownerId` (string)
- `enrichWebsites` (boolean)
- `dispatchDetectiveBatch` (boolean)

Request body example:

```json
{
  "preset": "nyc_dob_contractors_and_trades",
  "borough": "string",
  "limit": 15,
  "offset": 0,
  "ownerId": "string",
  "enrichWebsites": true,
  "dispatchDetectiveBatch": false
}
```

**Responses**

- `200` — Pulled non-POS SMB leads from public registries, deduplicated via SMB match key, created owner contacts, recorded signals, and executed lead play

Response example, 200:

```json
{
  "sourceName": "string",
  "pulledCount": 0,
  "createdCount": 0,
  "updatedCount": 0,
  "nextOffset": 0,
  "detectiveBatchIssueId": "string",
  "leads": [
    {
      "property1": null,
      "property2": null
    }
  ]
}
```
