Skip to main content

Create or update a lead

POST 

/v1/open-api/lead

Create a new lead, or update an existing one (distinguished by id). Processed asynchronously — the endpoint returns a requestId to poll for the outcome.

Updates are partial down to the item level: absent keys (including keys inside each contacts[] / fields[] item) are left unchanged, values update, and explicit null clears. However, the contacts and fields lists themselves are sent in full — when present they replace the whole set, so contacts/field-values missing from the list are unlinked/deleted. See LeadCreateRequestDTO for the full rules.

Requires grant PERMISSION_OPEN_API_LEAD:SAVE.

Request

Responses

Request accepted and enqueued. Poll requestId for the result.