Create and Update Records
Use record endpoints when your integration owns CRM data or needs to sync data from another system into Reevo.Create a record
Create records withPOST /api/v2/<record_type>.
201 Created and returns the full record in a data envelope.
Patch a record
Patch records withPATCH /api/v2/<record_type>/{id}.
| Request shape | Meaning |
|---|---|
| Field omitted | Leave the field unchanged |
| Field present with a value | Set the field |
Field present with null | Clear the field, if nullable |
| Array field present | Replace the full array where parent patch supports that field |
Archive a record
Archive records withDELETE /api/v2/<record_type>/{id}. Successful archive returns 204 No Content.
Create or update with _assert
Use _assert when you want a create-or-update workflow based on a unique field.
_assert is available for contact and account only.
| Branch | HTTP status | meta.action |
|---|---|---|
| Created new record | 201 | created |
| Updated existing record | 200 | updated |
Common errors
| Error code | Usually means | How to recover |
|---|---|---|
unknown_field | The field API name is not declared for this record type | Check GET /api/v2/_schema/{record_type} |
field_not_creatable | A create request tried to set a read-only or system field | Remove the field from POST bodies |
field_not_updatable | A patch request tried to set a read-only or system field | Remove the field from PATCH bodies |
field_required_missing | A required create field was omitted | Include the field or rely on a documented default |
field_value_invalid | A value could not be coerced into the field type | Check the field’s value_type and write shape |
record_not_found | The record ID does not exist in the workspace | Re-query before patching or archiving |
ambiguous_match | A match found more than one possible record | Use a more specific match field or resolve duplicates |