cURL
Records
Find unique record
Find a specific record based on unique values.
POST
cURL
Overview
The find unique method searches for a single record based on one or more unique attribute values. The response will contain exactly zero or one record. This method is useful when you need to find a record by its unique identifier other than the record ID. For example, you can use it to find a company by its domain or a person by their email address. If you have custom objects with unique identifiers, this method can be used to locate records based on those unique attributes.Examples
Find a company by domain
Find a company by domain
This finds a company record by its unique domain:This returns the company for Unify if it exists, otherwise the response will
contain
null for the record.Find a custom record
Find a custom record
This finds a record in a custom object by a unique identifier:
Find using multiple attributes
Find using multiple attributes
This finds a custom object record using a combination of unique and
non-unique attributes:In this case, the custom attributes
user_id and email are unique, but
product_code is not. Only a record which matches all of these criteria
will be returned.Usage
Authorizations
Path Parameters
The API name of an object, e.g. company, person, opportunity, or a
custom object's API name.
Body
application/json
Request body for finding a unique record by attribute values.
Attribute values used to find an existing record. Include at least one unique attribute. Additional attributes narrow the match.