Add attribute
POST
objectId*stringapplication/json- body
Definition of a new attribute. Type-specific configuration (e.g. options for select, decimals for number, target object for relation) is passed as additional top-level keys.
name*stringUnique machine name within the object.
label*stringHuman-readable label.
type*stringAttribute type.
Value in
"text""richtext""number""checkbox""date""phone""currency""status""location""select""multiselect""file""user""relation""formula""rollup""document"required?booleanunique?booleandescription?stringplaceholder?stringicon?stringIcon name.
defaultValue?unknownDefault value; the shape depends on the attribute type.
metadata?[key: string]?anycurl -X POST 'https://api.standards.new/v1/schema/objects/string/attributes' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "label": "string", "type": "text"}'Example Response201
Empty