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-Key
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.
leads
on_conflict
Allowed values:
match_on
Allowed values:
create_missing_fields
Response
Successful Response
results
created
updated
unchanged
failed
created_fields
missing_fields
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
