Branding

Retrieve branding

GET/api/v1/branding

GET /branding
curl -X GET 'https://www.unitpost.com/api/v1/branding' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
Response · 200
{
  "object": "branding",
  "company_name": "string",
  "company_address": "string",
  "logo_url": "https://example.com",
  "has_brand_logo": false,
  "colors": {
    "background": "string",
    "footer_background": "string",
    "text": "string",
    "accent": "string",
    "button_text": "string"
  },
  "font": "string",
  "hide_unitpost_branding": false,
  "unitpost_branding_hidden": false,
  "can_hide_unitpost_branding": false,
  "unsubscribe_page": {
    "title": "string",
    "description": "string",
    "confirm": false,
    "collect_reason": false,
    "show_address": false,
    "show_topics": false,
    "save_label": "string",
    "global_label": "string",
    "global_note": "string",
    "topics_heading": "string"
  },
  "footer": {
    "intro_text": "string",
    "unsubscribe_label": "string"
  }
}

The look marketing emails' footer and the hosted unsubscribe page share, as Settings → Brand shows it: colors, the font, the company name and postal address, the page's copy and behavior, the footer's labels, the logo, and whether the "Sent with Unitpost" mark shows. null means the default; company_name falls back to the workspace's name, so send it only to pin a different one. Requires the templates:read capability.

Response · 200 fields12 fields
FieldTypeDescription
objectrequiredstring—
company_namerequiredstring | nullThe name the footer shows; the workspace's name unless one was set.
company_addressrequiredstring | null—
logo_urlrequiredstring | nullThe logo emails and the unsubscribe page show: the brand logo, else the workspace image, else none.
has_brand_logorequiredboolean—
colorsrequiredobject—
fontrequiredstring | null—
hide_unitpost_brandingrequiredbooleanThe stored choice.
unitpost_branding_hiddenrequiredbooleanWhether recipients see no mark now: the choice, the plan and the account together.
can_hide_unitpost_brandingrequiredbooleanWhether the plan allows hiding the mark.
unsubscribe_pagerequiredobject—
footerrequiredobject—
200401403422

Update branding

PATCH/api/v1/branding

PATCH /branding
curl -X PATCH 'https://www.unitpost.com/api/v1/branding' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0' \
  -H 'Content-Type: application/json' \
  -d '{ }'
Response · 200
{
  "object": "branding",
  "company_name": "string",
  "company_address": "string",
  "logo_url": "https://example.com",
  "has_brand_logo": false,
  "colors": {
    "background": "string",
    "footer_background": "string",
    "text": "string",
    "accent": "string",
    "button_text": "string"
  },
  "font": "string",
  "hide_unitpost_branding": false,
  "unitpost_branding_hidden": false,
  "can_hide_unitpost_branding": false,
  "unsubscribe_page": {
    "title": "string",
    "description": "string",
    "confirm": false,
    "collect_reason": false,
    "show_address": false,
    "show_topics": false,
    "save_label": "string",
    "global_label": "string",
    "global_note": "string",
    "topics_heading": "string"
  },
  "footer": {
    "intro_text": "string",
    "unsubscribe_label": "string"
  }
}

Change branding with the same options Settings → Brand offers; only the fields you send change, and null restores a default. The footer every marketing email carries is built from these at send (it always keeps the unsubscribe link and the postal address). Hiding the "Sent with Unitpost" mark needs a paid plan (403 limit_reached). No key preset includes this capability: tick it on the key. Requires the branding:write capability.

Request body7 fields
FieldTypeDescription
company_namestring | nullShown in the footer (`{{company_name}}`).
company_addressstring | nullThe postal address every marketing email carries (`{{company_address}}`).
colorsobject—
fontenum | nullOne of: System default, Arial, Helvetica, Verdana, Tahoma, Trebuchet MS, Georgia, Times New Roman, Courier New.
hide_unitpost_brandingbooleanHide the "Sent with Unitpost" mark. Paid plans only (403 `limit_reached`).
unsubscribe_pageobject—
footerobject—
Response · 200 fields12 fields
FieldTypeDescription
objectrequiredstring—
company_namerequiredstring | nullThe name the footer shows; the workspace's name unless one was set.
company_addressrequiredstring | null—
logo_urlrequiredstring | nullThe logo emails and the unsubscribe page show: the brand logo, else the workspace image, else none.
has_brand_logorequiredboolean—
colorsrequiredobject—
fontrequiredstring | null—
hide_unitpost_brandingrequiredbooleanThe stored choice.
unitpost_branding_hiddenrequiredbooleanWhether recipients see no mark now: the choice, the plan and the account together.
can_hide_unitpost_brandingrequiredbooleanWhether the plan allows hiding the mark.
unsubscribe_pagerequiredobject—
footerrequiredobject—
200400401403422

Search docs and guides

Search the docs and product guides.