Create or Update Records (Upsert) API
Overview
Why Use This API?
Create or Update Records (Upsert) API Behavior
Unarchiving Using Entity Create or Upsert
Create or Update Records (Upsert) Endpoint
post
Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Path parameters
object_identifierstringRequired
Query parameters
return_all_fieldsbooleanOptional
If true, return all fields even if not updated
Body
lookup_valuestring · min: 1Required
Value to match the entity record (name for custom objects, email for contacts).
oncreate_unarchiveone of · nullableOptional
Behavior when creating and a matching archived record exists.
prompt- promptunarchive- unarchiveoverwrite- overwrite
string · enumOptionalPossible values:
prompt- promptunarchive- unarchiveoverwrite- overwrite
undefined · enumOptionalPossible values:
onupdate_archived_conflictone of · nullableOptional
Updates the identifier of matching archived record to not raise a conflict during update.
overwrite- overwrite
string · enumOptionalPossible values:
overwrite- overwrite
undefined · enumOptionalPossible values:
Responses
200Success
application/json
object_typestringRequired
num_upcoming_activitiesintegerRequired
idstring · uuidRequired
num_associated_team_membersintegerRequired
actionstring · enumRequiredPossible values:
created- createdupdated- updatedunarchived- unarchived
201Success
application/json
400Error
application/json
post
/api/records/{object_identifier}/upsertCreate or Update Records (Upsert) Schema
What’s Next
Last updated
Was this helpful?