Records

List values for record field

get

Useful when retrieving all values from a summarized relationship field

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
entity_idstring · uuidRequired
field_idstring · uuidRequired
Query parameters
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

searchstringOptional
Responses
get
/api/records/{entity_id}/field-values/{field_id}
200Success
get

Get entity record by ID

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
entity_idstringRequiredPattern: ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$
object_identifierstringRequired
Query parameters
detail_summarybooleanOptional

Include summary data in the response, including lead sources.

field_categorystringOptional

Comma separated category ids, to filter by field category. Ignored when field_ids is present.

field_idsstringOptional

Comma separated field ids to include in response. If present but empty, it will return default fields only.

field_namesstringOptional

Comma separated field names to include in response. If present but empty, it will return default fields only.

include_hidden_fieldsbooleanOptional

Include hidden fields in the response.

Responses
get
/api/records/{object_identifier}/{entity_id}
200Success
put

Update entity record

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
entity_idstringRequiredPattern: ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$
object_identifierstringRequired
Body
archived_conflictone of | nullableOptional

Updates the identifier of matching archived record to not raise a conflict.

  • overwrite - overwrite
string · enumOptional
  • overwrite - overwrite
Possible values:
or
undefined · enumOptionalPossible values:
Responses
put
/api/records/{object_identifier}/{entity_id}
delete

Archive entity record

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
entity_idstringRequiredPattern: ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$
object_identifierstringRequired
Responses
delete
/api/records/{object_identifier}/{entity_id}
204

No response body

No content

patch

Update entity record (partial)

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
entity_idstringRequiredPattern: ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$
object_identifierstringRequired
Query parameters
return_all_fieldsbooleanOptional

If true, return all fields even if not updated

Body
archived_conflictone of | nullableOptional

Updates the identifier of matching archived record to not raise a conflict.

  • overwrite - overwrite
string · enumOptional
  • overwrite - overwrite
Possible values:
or
undefined · enumOptionalPossible values:
Responses
patch
/api/records/{object_identifier}/{entity_id}
post

Create entity record

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
object_identifierstringRequired
Body
unarchiveone of | nullableOptional
string · enumOptional
  • prompt - prompt
  • unarchive - unarchive
  • overwrite - overwrite
Possible values:
or
undefined · enumOptionalPossible values:
Responses
post
/api/records/{object_identifier}/add
get

Get entity record by name or email

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
object_identifierstringRequired
Query parameters
all_fieldsbooleanOptional

Return all fields.

field_idsstringOptional

Comma separated field ids to include in response. If present but empty, it will return default fields only.

field_namesstringOptional

Comma separated field names to include in response. If present but empty, it will return default fields only.

identifierstringRequired

Entity record name or contact email

Responses
get
/api/records/{object_identifier}/lookup
200Success
post

Search entity records.

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
Path parameters
object_identifierstringRequired
Query parameters
group_idstringOptional

Group id to filter records by.

in_group_idsstringOptional

Comma separated list of group ids. Only records in these groups will be returned. If both 'in_group_ids' and 'not_in_group_ids' are supplied, only 'in_group_ids' will be considered.

not_in_group_idsstringOptional

Comma separated list of group ids. Only records not in these groups will be returned. If both 'in_group_ids' and 'not_in_group_ids' are supplied, only 'in_group_ids' will be considered.

orderingstringOptional

Which field to use when ordering the results.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

searchstringOptional

A search term, by default, searches Contact's email, first_name, last_name, home_phone, mobile_phone, business_phone and Record's name. 'search_within_field_names' or 'search_within_field_ids' can be used to specify fields to search within.

Body
field_namesstring[] | nullableOptional

List of field names to return. Only one of 'field_names' or 'field_ids' is allowed.

field_idsstring · uuid[] | nullableOptional

List of field ids to return. Only one of 'field_ids' or 'field_names' is allowed.

search_within_field_namesstring[] | nullableOptional

List of field names to search within. Only one of 'search_within_field_names' or 'search_within_field_ids' is allowed.

search_within_field_idsstring · uuid[] | nullableOptional

List of field ids to search within. Only one of 'search_within_field_ids' or 'search_within_field_names' is allowed.

andboolean | nullableOptional

Whether to apply AND or OR logic in filters

Default: true
Responses
post
/api/records/{object_identifier}/search
200Success
post

Create or update entity record based on lookup criteria

Authorizations
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
X-API-KEYstringRequired
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 - prompt
  • unarchive - unarchive
  • overwrite - overwrite
string · enumOptional
  • prompt - prompt
  • unarchive - unarchive
  • overwrite - overwrite
Possible values:
or
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 · enumOptional
  • overwrite - overwrite
Possible values:
or
undefined · enumOptionalPossible values:
Responses
post
/api/records/{object_identifier}/upsert

Last updated

Was this helpful?