Help center
Upload a help center theme
Uploads a theme's folder as a zip in the file field of a multipart form. dimmi checks every file and parses every template; a theme with problems is refused with each one's file and line, and nothing is kept. A theme that passes is kept as a new version, not yet live. Returns the new theme version.
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
help_centerstringrequiredId of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.
Body
application/jsonfilenamestringfilename of the file being uploaded
Format: binary
namestringgeneral purpose name for multipart form value
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
api_versionintegerrequiredThe theme API the theme is written for, from its theme.json.
Format: int64
content_hashstringrequiredA hash of every file of the theme; two versions with the same hash hold the same files.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
file_countintegerrequiredHow many files the theme holds.
Format: int32
help_center_idstringrequiredId of the help center the theme belongs to, starting with hc_.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
livebooleanrequiredWhether this is the version the help center's pages wear now.
namestringrequiredThe theme's name, from its theme.json.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
settingsobject[] | nullrequiredThe settings the theme declares in its theme.json, which the team may change without code.
Show child attributesHide child attributes
defaultanyThe value used until the team sets one. Left out when the theme gives none.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
infostringMore words for the team about the setting. Left out when the theme gives none.
labelstringrequiredThe setting's name as the team reads it.
optionsstring[] | nullThe values a select setting allows. Left out for other types.
typestringrequiredWhat the setting holds: text, textarea, color, checkbox, number, url or select.
size_bytesintegerrequiredThe size of all the theme's files together, in bytes.
Format: int32
theme_versionstringrequiredThe theme author's own version label, such as 1.2.0. Empty when not set.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
valuesobjectrequiredThe team's values for the theme's settings, by setting id. Settings left out use their defaults.
versionintegerrequiredThe upload's number within the help center, counting up from 1.
Format: int32
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.