Skip to main content
POST
Generate ICP lead lists

Authorizations

Authorization
string
header
required

Workspace API key (loice_sk_ + 48 hex characters), created under Settings → API Keys. Sent as Authorization: Bearer loice_sk_…. Invalid, missing, or expired keys are rejected with 401 before any billable work happens.

Headers

Idempotency-Key
string

Optional, 1–255 printable ASCII characters, scoped to your workspace. A repeat with the same key and body answers the original generation (200, replay: true) and starts nothing new; a different body with the same key is refused with 409 idempotency_conflict.

Required string length: 1 - 255

Body

application/json
analysisId
string
required
Required string length: 1 - 64
includeEmails
boolean
required
expectedPoints
integer
required
Required range: x >= 0
maxLeadsPerList
integer | null
Required range: x >= 1

Response

A replay: the same Idempotency-Key and body answer the original generation.

data
object
required