Get an Environment's branding
/api/v1/brandingReturns the Environment's branding: the values the customer set (branding, null where unset) beside the effective result every hosted page and the organization admin portal render (effective: product name, logo, primary color, support link, and whether the attribution line stays). brand_removal_available says whether the Account's plan removes the attribution line.
Authentication
Bearer Token
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
API Key
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Responses
application/json
data *EnvironmentBrandingResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/branding" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "environment_slug": "string", "branding": { "product_name": "string", "logo_url": "string", "primary_color": "string", "support_url": "string" }, "effective": { "product_name": "string", "logo_url": "string", "primary_color": "string", "support_url": "string", "attribution": false }, "brand_removal_available": false } }
Tell us how we can improve this guide.