Get an organization's brand
Returns the white-label brand for organizationId. Public and unauthenticated, so the white-label surface can theme itself before login. Returns 404 when the organization has no brand.
Path Parameters
Backend organization id / tenant slug.
length <= 255Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/branding/dawa"{ "organization_id": "dawa", "logo_url": "http://example.com", "icon_url": "http://example.com", "font_family": "Inter", "font_weight": 400, "primary_color": "#16a34a", "secondary_color": "#16a34a", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}Reactivate the agent POST
Reactivate a suspended agent so it can be assigned customers again. Requires the `org:agents:write` permission. Available to the caller, the caller's supervised subtree, or a caller with `org:agents.all:read`. The agent must currently be `SUSPENDED`. Returns 404 when the agent does not exist or is outside the caller's visibility.
Create or replace an organization's brand PUT
Replaces the brand for `organizationId` in full, creating it on the first call. `primary_color` is required; every omitted optional field is cleared, not left unchanged. Requires a WorkOS bearer token whose `cowdi_org_id` matches `organizationId`, plus the `org:branding:write` permission (override with BRANDING_WRITE_PERMISSION). Returns 403 when either check fails.