Batch Upsert Contacts
Create or update up to 1,000 contacts in a single request, with a result for each contact. Optionally pass audienceId to add successfully upserted contacts to a static audience.
Authorizations
Your Conversion API key. Found in Settings > Integrations in the dashboard. Format: sk_live_<key_id>_<secret>.
Body
An array of contact objects to upsert.
1 - 1000 elementsShow child attributes
Show child attributes
When true, restricts all operations to updates only. Contacts that are not found will be returned with a contact_not_found error in their result item.
When true, syncs upserted contacts to the connected CRM (e.g., Salesforce) if they do not already have an external CRM record.
When true, prevents overwriting existing non-empty field values for all contacts in the batch. New values are only written to fields that are currently empty or unset.
Optional Conversion static audience ID. Add successfully upserted contacts to this audience. The audience must belong to the API key workspace.
Response
Batch processed. Check data.failed and each result for contact or audience failures. An invalid audience is reported for each contact before any writes.
Show child attributes
Show child attributes
Was this page helpful?