Skip to content

Brands

Run mail for several businesses from one team, each with its own domains, contacts, unsubscribes, look and API key, without one brand's list or reputation touching another's.

When to use brands#

Brands are for a platform or agency that sends on behalf of several merchants or clients and wants one account, one bill and one dashboard. Everything that makes up an audience is kept apart per brand: a contact who unsubscribes from one shop is still a subscriber of another, and a brand whose mail draws complaints is paused on its own.

If each client should have their own account, invoices and users instead, use client teams (POST /agency/teams): a team your team manages, which you can bill through a pay link and move domains into.

Set up a brand#

  1. Create the brand, move a domain, make a key

    const { brand } = await poststack.brands.create({ name: 'Hyttebog' });
    
    // Move the merchant's verified domain into the brand.
    await poststack.domains.update(42, { brand_id: brand.publicId });
    
    // A key that can only see and send for this brand.
    const key = await poststack.apiKeys.create({
      name: 'Hyttebog storefront',
      permission: 'sending_access',
      brand_id: brand.publicId,
    });
    
    // The brand's own look and postal address for its emails and pages.
    await poststack.brandKit.update({
      brand_id: brand.publicId,
      primary_color: '#0f766e',
      postal_address: 'Hyttebog ApS, Strandvejen 1, 2900 Hellerup, Denmark',
    });
  2. Create the brand's audience

    Contacts, subscription topics, segments, signup forms, broadcasts, templates, workflows and webhooks take brand_id when they are created. Lists take ?brand_id=brd_…, or ?brand_id=none for the team's own rows. A brand key fills it in for you.

What is kept apart#

Per brandShared across the team
ContactsEach brand has its own contacts. The same address can be a contact of several brands, with different names, properties and status.—
UnsubscribesAn unsubscribe stops the mail of the brand it came from.Bounces, complaints and manual suppressions stop every brand’s mail.
SendingA brand’s broadcasts and workflows reach only its contacts and send only from its domains.The plan’s monthly emails.
ReputationBounce and complaint rates are judged per brand; a brand over the line is paused alone, and its campaigns face the complaint guard on its own rate.—
LookBrand kit (logo, colours, font, footer, postal address), image library, and the preference and unsubscribe pages.—
EventsA brand’s webhooks get only its events.The team’s webhooks get every event, with brand_id on brand events.
EngagementOpens and clicks count for the contact of the brand that sent the mail.—

Brand keys

A key created with brand_id reads and writes only its brand's rows; another brand's contact answers 404, exactly like one that does not exist. It can send and read email, read domains, contacts, topics, signup forms and webhooks, and call GET /brands/current to learn which brand it is. Every other endpoint answers 403, so a merchant holding the key cannot reach the rest of the team. The full list is in Authentication.

Renaming and deleting

PATCH /brands/:id renames a brand. DELETE /brands/:id removes only an empty brand: move or delete its domains and audience first.

Whether an unsubscribe also stops a brand's receipts is one team-wide setting: see Unsubscribe scope.

Next steps

Was this page helpful?