Create an org branding
Módulo Settings
POST/org-brandingorgBrandings.create
White label brand settings for Atlas, Gateway, email and Compass. Creates an org branding. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
- Requiere la capacidad org.white_label.write.
- Alcances de OAuth: org.
- Envía el encabezado Idempotency-Key. Una repetición con la misma clave devuelve la respuesta original.
- Estados de error: 400, 401, 409, 422, 429. Los errores son detalles de problema RFC 9457.
Cuerpo de la solicitud: OrgBrandingCreate
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| display_name | string | null | No | Brand display name.Restricciones: length 1 to 300 |
| logo_light_path | string | null | No | Logo for light themes: object path in the org-brand bucket, starting with the org id.Restricciones: length 1 to 1024 |
| logo_dark_path | string | null | No | Logo for dark themes: object path in the org-brand bucket.Restricciones: length 1 to 1024 |
| favicon_path | string | null | No | Favicon: object path in the org-brand bucket.Restricciones: length 1 to 1024 |
| app_icon_path | string | null | No | App icon: object path in the org-brand bucket.Restricciones: length 1 to 1024 |
| accent_hex | string | null | No | Accent color as uppercase #RRGGBB, replacing accent-default in every theme; null keeps the platform accent.Restricciones: pattern ^#[0-9A-F]{6}$ |
| neutral_tint_hex | string | null | No | Optional neutral tint as uppercase #RRGGBB.Restricciones: pattern ^#[0-9A-F]{6}$ |
| font_family | string | null | No | Font family from the approved list; null keeps the platform font.Restricciones: length 1 to 300 |
| radius_scale | "Compact" | "Default" | "Rounded" | No | Corner radius scale. |
| email_sender_name | string | null | No | Sender name on emails sent for the org.Restricciones: length 1 to 300 |
| support_email | string (email) | null | No | Support address shown on branded surfaces. |
| legal_entity_name | string | null | No | Legal entity named on generated documents and emails.Restricciones: length 1 to 300 |
| suppress_powered_by | boolean | No | True hides Powered by XOS; it takes effect only while the plan includes white label. |
{
"display_name": "Northwind Live",
"logo_light_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"logo_dark_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"favicon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"app_icon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"accent_hex": "#1F6FEB",
"neutral_tint_hex": "#1F6FEB",
"font_family": "Inter",
"radius_scale": "Compact",
"email_sender_name": "Northwind Live",
"support_email": "alex.rivera@northwindlive.example",
"legal_entity_name": "Northwind Live LLC",
"suppress_powered_by": false
}Respuesta 201: OrgBranding
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the org branding. |
| org_id | string (uuid) | Sí | Identifier of the owning organization, derived from the parent row and never accepted from the caller. |
| created_at | string (date-time) | Sí | When the row was created. |
| created_by | string (uuid) | null | Sí | Identifier of the person who created the row; null when a seed, platform or system process created it. |
| updated_at | string (date-time) | Sí | When the row was last updated. |
| updated_by | string (uuid) | null | Sí | Identifier of the person who last updated the row; null when a seed, platform or system process updated it. |
| display_name | string | null | Sí | Brand display name.Restricciones: length 1 to 300 |
| logo_light_path | string | null | Sí | Logo for light themes: object path in the org-brand bucket, starting with the org id.Restricciones: length 1 to 1024 |
| logo_dark_path | string | null | Sí | Logo for dark themes: object path in the org-brand bucket.Restricciones: length 1 to 1024 |
| favicon_path | string | null | Sí | Favicon: object path in the org-brand bucket.Restricciones: length 1 to 1024 |
| app_icon_path | string | null | Sí | App icon: object path in the org-brand bucket.Restricciones: length 1 to 1024 |
| accent_hex | string | null | Sí | Accent color as uppercase #RRGGBB, replacing accent-default in every theme; null keeps the platform accent.Restricciones: pattern ^#[0-9A-F]{6}$ |
| neutral_tint_hex | string | null | Sí | Optional neutral tint as uppercase #RRGGBB.Restricciones: pattern ^#[0-9A-F]{6}$ |
| font_family | string | null | Sí | Font family from the approved list; null keeps the platform font.Restricciones: length 1 to 300 |
| radius_scale | "Compact" | "Default" | "Rounded" | Sí | Corner radius scale. |
| email_sender_name | string | null | Sí | Sender name on emails sent for the org.Restricciones: length 1 to 300 |
| support_email | string (email) | null | Sí | Support address shown on branded surfaces. |
| legal_entity_name | string | null | Sí | Legal entity named on generated documents and emails.Restricciones: length 1 to 300 |
| suppress_powered_by | boolean | Sí | True hides Powered by XOS; it takes effect only while the plan includes white label. |
{
"id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"org_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"created_at": "2026-10-08T14:30:00Z",
"created_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"updated_at": "2026-10-08T14:30:00Z",
"updated_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"display_name": "Northwind Live",
"logo_light_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"logo_dark_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"favicon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"app_icon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"accent_hex": "#1F6FEB",
"neutral_tint_hex": "#1F6FEB",
"font_family": "Inter",
"radius_scale": "Compact",
"email_sender_name": "Northwind Live",
"support_email": "alex.rivera@northwindlive.example",
"legal_entity_name": "Northwind Live LLC",
"suppress_powered_by": false
}Ejemplos de código
curl -X POST "$XOS_BASE_URL/org-branding" \
-H "Authorization: Bearer $XOS_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"display_name":"Northwind Live","logo_light_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","logo_dark_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","favicon_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","app_icon_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","accent_hex":"#1F6FEB","neutral_tint_hex":"#1F6FEB","font_family":"Inter","radius_scale":"Compact","email_sender_name":"Northwind Live","support_email":"alex.rivera@northwindlive.example","legal_entity_name":"Northwind Live LLC","suppress_powered_by":false}'const { data } = await xos.orgBrandings.create({
"display_name": "Northwind Live",
"logo_light_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"logo_dark_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"favicon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"app_icon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg",
"accent_hex": "#1F6FEB",
"neutral_tint_hex": "#1F6FEB",
"font_family": "Inter",
"radius_scale": "Compact",
"email_sender_name": "Northwind Live",
"support_email": "alex.rivera@northwindlive.example",
"legal_entity_name": "Northwind Live LLC",
"suppress_powered_by": false
});response = xos.org_brandings.create({"display_name": "Northwind Live", "logo_light_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg", "logo_dark_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg", "favicon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg", "app_icon_path": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg", "accent_hex": "#1F6FEB", "neutral_tint_hex": "#1F6FEB", "font_family": "Inter", "radius_scale": "Compact", "email_sender_name": "Northwind Live", "support_email": "alex.rivera@northwindlive.example", "legal_entity_name": "Northwind Live LLC", "suppress_powered_by": False})xos org-brandings create --data '{"display_name":"Northwind Live","logo_light_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","logo_dark_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","favicon_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","app_icon_path":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/logo-light.svg","accent_hex":"#1F6FEB","neutral_tint_hex":"#1F6FEB","font_family":"Inter","radius_scale":"Compact","email_sender_name":"Northwind Live","support_email":"alex.rivera@northwindlive.example","legal_entity_name":"Northwind Live LLC","suppress_powered_by":false}'