Attributes
Create attribute
Create a single attribute or bulk upsert multiple attributes.
POST
Create one attribute by sending
key, label, and type. Re-posting the same key updates the attribute and returns 200 (first create returns 201). For sync workflows, send an attributes array to upsert up to 500 attributes per request.
Request body (single)
string
required
Stable key (letters, digits, underscores; must start with a letter).
string
required
Human-readable label.
string
required
One of:
text, number, url, email, date, boolean, richtext, enum, tags, image, images, file, files, json.array
Allowed values when
type is enum.array
Suggested values when
type is tags.string
Optional description.
Request body (bulk)
array
required
Array of attribute objects (same fields as single create). Max 500 per request.

