Skip to main content
POST
cURL

Overview

Create a record in a standard or custom object. Put attribute values inside data and include all required attributes defined on the object. A conflicting unique value returns an error. If your workflow should update an existing record or create one when missing, use Upsert record.

Examples

Set UNIFY_API_KEY to your API key.
This example uses synthetic company data:
The response contains the new record in data. Save data.id for later updates or list membership operations.
A nested match finds the company by its unique domain. Replace these example values with the person’s details and a company already in your workspace.
If the referenced company is missing, its reference resolves to null. To create the company when needed, include a nested create:
Use this object as the value of data.company in the person request.
Suppose you’ve defined a product_user object with user_id, full_name, email_address, and plan attributes. Use those attributes’ API names in data:
Create the object and its attributes before sending this request. Match each value to the attribute’s type and use valid options for select attributes.

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.

Query Parameters

validation_mode
enum<string>

Validation mode for request data.

  • strict: Reject requests if any attribute is invalid or unrecognized.
  • ignore_invalid: Ignore unknown attributes and omit invalid values for optional attributes. Reject requests with an invalid body structure or invalid required attributes.
Available options:
strict,
ignore_invalid

Body

application/json

Request body for creating a record.

data
object
required

The attribute values for the new record.

All required attributes on the object must be included.

Response

Response for a successful create operation.

Response for a successful create operation.

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