cURL
Records
Create record
Create a new record.
POST
cURL
Overview
The create method creates a new record in the specified object. This method will fail if any record already exists with conflicting unique values, which may or may not be the desired behavior depending on your use case. If you are not sure whether a record already exists with the same unique values, consider using the upsert method instead.Examples
Create a company
Create a company
This creates a new company record:
Create a person
Create a person
This creates a new person record and links them to an existing company if it
exists:If a company with this domain does not exist, the
company reference on
this person will be null. If you want to create a company in that case
instead, you can use a nested upsert:Create a custom record
Create a custom record
This creates a new record in a custom object called
product_user:Usage
Authorizations
Path Parameters
The API name of an object, e.g. company, person, opportunity, or a
custom object's API name.
Query Parameters
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.
The attribute values for the new record.
All required attributes on the object must be included.