The Create Data Object endpoint allows you to add new records to a dataset. The data object structure is determined by the schema definition, and the API validates field values according to schema rules.
Dynamic fields based on the schema definition. Use the field names as defined in the schema. Values should be formatted according to the field’s data type:
string: Plain text values
integer: Whole numbers
float: Decimal numbers
boolean: true or false
date: Date string in the format defined by the schema (e.g., “MM/DD/YYYY”)
datetime: DateTime string in the format defined by the schema
time: Time string in the format defined by the schema
An array of validation errors. If the data doesn’t conform to schema validation rules, errors will be listed here. The data object is still created, but flagged with errors.
The API validates field values based on the schema definition:
Required fields: Fields marked as required in the schema must have a value.
Data types: Values must match the expected data type (e.g., integers for integer fields).
Format validation: Emails, URLs, phones, and dates are validated against their expected formats.
Picklist values: Values must be from the predefined list if the field is a picklist.
Data objects with validation errors are still created but flagged in the _errors array. This allows you to import data and fix validation issues later.