Whitelabel
List Domains
Returns all custom app domains for the organization. Only domains with role app are returned. Requires admin role.
GET /api/organization/whitelabel/domains
Example (cURL)
curl -X GET "$BASE_URL/api/organization/whitelabel/domains" \
-H "Cookie: $SESSION_COOKIE" \
-H "Accept: application/json"Response
{
"domains": [
{
"id": 1,
"hostname": "app.example.com",
"status": "active",
"role": "app",
"isPrimary": true,
"verificationToken": "abc123-def456",
"verifiedAt": "2026-01-15T10:00:00.000Z",
"createdAt": "2026-01-14T08:00:00.000Z",
"updatedAt": "2026-01-15T10:00:00.000Z"
}
]
}Common errors
401 Unauthorizedwhen not authenticated403 Forbiddenwhen not an admin
Get Branding
Returns the organization's branding configuration, including product name, theme colors, and signed URLs for logos and favicons. Requires admin role.
Update Branding
Updates the organization's branding configuration. All fields are optional — only sent fields are updated. Setting productName or theme colors to null clears them. Requires admin role.