Update business unit branding settings Run in API Explorer
Ask AI
Update branding settings for a business unit. Scalar settings (colours, booleans, HTML) are sent as a settings array. File fields (logos, backgrounds) are sent as file uploads.
Body
-
List of scalar settings to update (colours, booleans, HTML). File fields must use dedicated upload fields.
-
Image file for the logo. Max 10 MB.
-
Image file for the logo icon. Max 10 MB, 50–150px square, 1:1 ratio.
-
Image file for the email logo. Max 10 MB.
-
Image file for the branded auth background. Max 25 MB.
PUT
/api/v1/business-units/{business_unit_uuid}/branding
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/business-units/6ff8f7f6-1eb3-3525-be4a-3932c805afed/branding' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"settings":[{"key":"sidebar_background","value":"#0E0E56"}],"logo":"file-contents","logo_icon":"file-contents","email_logo":"file-contents","banner":"file-contents","branded_auth_background":"file-contents"}'
Request examples
{
"settings": [
{
"key": "sidebar_background",
"value": "#0E0E56"
}
],
"logo": "file-contents",
"logo_icon": "file-contents",
"email_logo": "file-contents",
"banner": "file-contents",
"branded_auth_background": "file-contents"
}