Skip to content

Records and custom record types

The Records API is schema-driven. Record types and their fields can vary by tenant, so integrations should discover the available types and retrieve the schema for each type before reading records.

Record type

NameTypeFormatNullableDescriptionExample
idinteger—YesCustom record-type identifier.42
namestring—NoStable name used in API paths."vendor"
displayNamestring—NoHuman-readable type name."Vendor"
descriptionstring—YesType description."External vendors and suppliers"
isCustomboolean—NoWhether the tenant defined this type.true
activeboolean—YesWhether the type is active.true
fieldsarrayFieldDefinitionYesField schema for the type.—
recordsUrlstringURI pathYesEndpoint for records of this type."/api/v1/records/vendor"
schemaUrlstringURI pathNoEndpoint for the type's field schema."/api/v1/records/schema/vendor"

FieldDefinition

The schema endpoint is authoritative. A field definition can include the following properties in addition to type-specific validation properties.

NameTypeFormatNullableDescriptionExample
namestring—NoStable field name used in record payloads."legalName"
displayNamestring—YesHuman-readable field name."Legal name"
typestring—NoField data type."string"
requiredboolean—NoWhether callers must provide the field.true
nullableboolean—YesWhether the field accepts null.false
descriptionstring—YesField description or usage hint."Registered legal name"
examplestring—YesExample field value."Acme Supplies LLC"
enumValuesarraystringYesAllowed values for an enum field.["ACTIVE", "INACTIVE"]
foreignKeyobject—YesReferenced record type and field.{"recordType":"Client","field":"id"}

Record data

Record fields are returned according to the selected type's schema. Use the type's schemaUrl; there is no single static field list shared by all custom record types.