API referenceSections

Branding and customer-facing pages

19 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
GET/api/v1/brandingThe brand of the caller's own panel
GET/api/v1/branding-assets/{hash}A brand's logo or favicon by its SHA-256, served as an image only (strict policy, sandboxed)
GET/api/v1/branding/publicThe sign-in page's brand, by the hostname it is opened on (ADR 0085)
GET/api/v1/tenants/{tid}/brandingA seller's own white label (provider or reseller)
PUT/api/v1/tenants/{tid}/brandingSave the white label and panel hostnames; accents must keep WCAG AA (BRANDING_CONTRAST)
DELETE/api/v1/tenants/{tid}/brandingRemove the white label; customers see the brand above
PUT/api/v1/tenants/{tid}/branding/assets/{kind}Upload the logo or favicon (PNG re-encoded; SVG refused when it has anything active), at most 256 KB
DELETE/api/v1/tenants/{tid}/branding/assets/{kind}Remove the logo or favicon
GET/api/v1/tenants/{tid}/custom-buttonsA seller's custom buttons and the icons they may use
POST/api/v1/tenants/{tid}/custom-buttonsAdd a button to the customers' menu or overview
GET/api/v1/tenants/{tid}/custom-buttons/visibleThe buttons this tenant's pages show, from the seller that owns it
PUT/api/v1/tenants/{tid}/custom-buttons/{bid}Change a button
DELETE/api/v1/tenants/{tid}/custom-buttons/{bid}Remove a button
GET/api/v1/tenants/{tid}/notice-templatesThe quota notice templates of this seller, each kind in vi and en
PUT/api/v1/tenants/{tid}/notice-templates/{kind}/{lang}Save a notice template after trying it; empty subject and body restore the default
GET/api/v1/tenants/{tid}/suspension-pageThe page visitors of this seller's suspended accounts see (ADR 0071)
PUT/api/v1/tenants/{tid}/suspension-pageSave the suspension page (or reset it); accounts suspended now get it too
GET/api/v1/tenants/{tid}/suspension-page/previewThe suspension page as HTML, from query fields, for the editor's sandboxed frame
POST/api/v1/tenants/{tid}/suspension-page/previewRender a suspension page as typed, without saving it