Skip to main content
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

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.
This finds a record in a custom object by a unique identifier:
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

x-api-key
string
header
required

Path Parameters

object_name
string
required

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.

match
object
required

Attribute values used to find an existing record. Include at least one unique attribute. Additional attributes narrow the match.

Response

Response for a successful get operation.

Response for a successful get operation.

status
enum<string>
required
Available options:
success
data
object | null
required