Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.set-branding ​

Set per-app end-user email HTML and display branding

Store per-app branding for end-user mail and hosted login chrome.

Inputs:

  • actor, organization_uuid, identity_app_uuid (required)
  • display_name: optional product name shown in mail and on login
  • logo_url: optional https logo URL
  • primary_color / background_color: optional #RGB or #RRGGBB
  • locale: optional pt-BR or en (hosted-login copy)
  • account_portal: optional bool. When true, this app's chrome styles login.orkestia.dev/account for the org (cleared on sibling apps).
  • emails: optional object keyed by password_reset / email_verify / end_user_invite. Each value is {subject?, html?, text?}. html and text must contain when set. html: null reverts that kind.

Outputs: identity_app_uuid, custom_templates, default_templates, display_name, logo_url, primary_color, background_color, locale, account_portal

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
display_namestringNo——
logo_urlstringNo——
primary_colorstringNo——
background_colorstringNo——
localestringNo——
account_portalbooleanNo——
emailsdictNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
identity_app_uuiduuidYes——
custom_templateslistNo——
default_templateslistNo——
display_namestringNo——
logo_urlstringNo——
primary_colorstringNo——
background_colorstringNo——
localestringNo——
account_portalbooleanNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
reasonstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "identity.app.set-branding",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}