Create Custom Object

Creates a custom object.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
leaf_typestringRequiredformat: "text"
Leaf type of the custom object.
custom_fieldsobjectOptional
Custom fields of the custom object.
custom_schema_specobjectOptional

Custom schemas described using identifiers. Each custom field in the request must have the corresponding schema specified; omission results in a Bad Request error. If a custom schema is not included in the specifier, it remains unchanged. For surfaces with human interactors, it is recommended to provide tenant_fragment: true and validate_required_fields: true.

stagestringOptionalformat: "id"
The stage of the custom object.
stage_validation_optionslist of enumsOptional
The type of stage validations options when creating a custom object.
Allowed values:
titlestringOptionalformat: "text"
Title of the custom object.
unique_keystringOptionalformat: "text"
The unique key of the custom object.This can be used to hold an external reference to another object.

Response

Success.
custom_objectobject

Errors