Skip to navigation

Create or upsert up to 500 leads

Each row succeeds or fails on its own; results has one entry per row in order. on_conflict, match_on and create_missing_fields apply to every row unless the row sets its own. For a large sheet, send chunks of 500 with one Idempotency-Key each.

Headers

Idempotency-KeystringOptional

Your unique id for this request (≤ 255 characters). Repeating it within 24 h replays the first answer instead of writing twice.

Request

This endpoint expects an object.
leadslist of objectsRequired
on_conflictenum or nullOptional
Allowed values:
match_onlist of enums or nullOptional
Allowed values:
create_missing_fieldsboolean or nullOptional

Response

Successful Response
resultslist of objects
createdinteger
updatedinteger
unchangedinteger
failedinteger
created_fieldslist of objects or nullOptional
missing_fieldslist of strings or nullOptional

Every custom field name sent that doesn’t exist, once (rows naming them failed).

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error