Scheduler Zero
REST APIAPI referenceLeads

Upload raw row data into a lead list

Each row is a flat object of string keys to string values (e.g. a parsed CSV row). Requires the `lead:import` permission.

POST
/leads/upload

Each row is a flat object of string keys to string values (e.g. a parsed CSV row). Requires the lead:import permission.

Authorization

ApiKeyAuth
x-api-key<token>

API key created under Settings → API Keys. Scoped to a single workspace.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/leads/upload" \  -H "Content-Type: application/json" \  -d '{    "leadListId": "cf1ea3ab-6c18-4de4-81e1-803f9fe6e6ec",    "data": [      {        "property1": "string",        "property2": "string"      }    ]  }'
{  "uploaded": 0}