Bulk Create Attributes
Creates multiple attributes for a specified attribute template in a single operation. Supports various field types including text, number, boolean, color, images (via URL or base64), and image_object (via existing app image UUID). Automatically uploads images to Cloudflare when not referencing by id. Returns lists of successful and failed creations with detailed error reasons.
/api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulkAuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
team_slugstringrequiredTeam slug
app_slugstringrequiredApp slug
attribute_template_keystringrequiredAttribute template key
application/jsonAttributes to create (max 50)
itemsinternal_pkg_webserver_v1.BulkCreateAttributeItem[]requiredShow propertiesHide properties
internal_pkg_webserver_v1.BulkCreateAttributeItemdescriptionstringA description for the attribute.
keystringrequiredA unique key for the attribute.
namestringrequiredThe name of the attribute.
valuesobject | nullValues for the attribute's fields, where the key is the field's key.
The expected value type depends on the field's type defined in the attribute template:
- "text": string
- "html": string (HTML, sanitized on insert)
- "number": number
- "boolean": boolean
- "color": string (hex format, e.g., "#RRGGBB")
- "image": string (base64 encoded image data, or a public URL)
- "image_object": string (existing app image UUID only)
Attributes processed successfully
datainternal_pkg_webserver_v1.BulkCreateAttributesResponserequiredShow propertiesHide properties
failed_creationsinternal_pkg_webserver_v1.BulkCreateAttributeFailed[] | nullShow propertiesHide properties
internal_pkg_webserver_v1.BulkCreateAttributeFailedinputinternal_pkg_webserver_v1.BulkCreateAttributeItemShow propertiesHide properties
descriptionstringA description for the attribute.
keystringrequiredA unique key for the attribute.
namestringrequiredThe name of the attribute.
valuesobject | nullValues for the attribute's fields, where the key is the field's key.
The expected value type depends on the field's type defined in the attribute template:
- "text": string
- "html": string (HTML, sanitized on insert)
- "number": number
- "boolean": boolean
- "color": string (hex format, e.g., "#RRGGBB")
- "image": string (base64 encoded image data, or a public URL)
- "image_object": string (existing app image UUID only)
reasonstringsuccessful_creationsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.Attribute[] | nullShow propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.Attributecreated_atstringdescriptionstring | nullfilterableboolean | nullidstringkeystringnamestring | nulltemplate_keystringtemplate_namestringtranslatableboolean | nulltranslationsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.AttributeTranslationsShow propertiesHide properties
descriptiongithub_com_enadhq_nabbit_internal_pkg_webserver_models.Translation[]Show propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.Translationidstringlocalestringvaluestringnamegithub_com_enadhq_nabbit_internal_pkg_webserver_models.Translation[]updated_atstring | nullvaluesobject | nulldetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequiredInvalid request payload
detailsstring[]messagestringsuccessbooleanrequiredUnauthorized access
detailsstring[]messagestringsuccessbooleanrequiredAttribute template not found
detailsstring[]messagestringsuccessbooleanrequiredInternal server error
detailsstring[]messagestringsuccessbooleanrequired