Skip to main content
PATCH
Update Leads in Bulk
Send up to 100 lead updates in one request. Each item takes the same body as PATCH /api/leads and follows the same rules: identifier matching, Multiple Match Behavior, status rules, set, conversionEventId, and pending updates for leads that are not in Octanist yet. Items are processed one at a time, in the order you send them. Two updates for the same lead are applied one after the other, as with separate requests. One item failing does not stop the others. The response is 200 OK with a summary and one result per item, also when some or all items failed. Check success on each result. An item that matches no lead succeeds with "matched": false, as it does on PATCH /api/leads.

Request Body

An empty array, more than 100 items, or a body without updates returns 400 VALIDATION_ERROR and nothing is updated.

Example Request

Example Response

Response Fields

Error Responses

These errors apply to the whole request. Errors of single items are in results.

Authorizations

X-API-KEY
string
header
required

API key for authentication

Body

application/json
updates
object[]
required
Required array length: 1 - 100 elements

Response

Result per item

success
boolean
Example:

true

data
object
meta
object