Bulk create / merge leads
Import up to 500 leads in one request. Requires the public_api:leads:write scope. Uploaded leads are inert (no downstream automation). Use dry_run: true to preview, on_duplicate to control merge behavior, and Idempotency-Key to make retries safe. Subject to a stricter per-minute rate limit than the other endpoints.
Authorizations
Admin-issued Personal Access Token, e.g. Authorization: Bearer mega_<64 hex>. The key carries scopes (public_api:leads:read, public_api:leads:write, public_api:webhooks:manage) and is locked to one customer.
Headers
The customer this request acts on. Must match the customer your key is locked to.
Client-generated unique key. Replaying the same key returns the original stored response instead of creating duplicates. Scoped per customer + endpoint; reuse with a different body returns 409.