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, such as finding a company by domain or a person by 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
Body
application/json
Request body for finding a unique record by attribute values.
The attribute values to match against. Each key is the API name of the attribute and each value is the corresponding attribute value to match.