Skip to main content
GET
Get Tenant

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Path Parameters

tenant_id
string
required

unique identifier of the tenant you want to get the details for

Response

OK

Tenant object returned. Fields hold the tenant's own local values — values not set on this tenant come back as null (or as empty objects/arrays). For flat tenants (no sub-tenants), unset fields stay unresolved and the tenant simply has no value for them. For sub-tenants, unset fields still return null here, but are resolved from the closest ancestor that has a value set at trigger time.

id
string

Tenant id. Replaces the legacy tenant_id field; both are returned.

Example:

"eu-sales"

name
string

Tenant display name. Replaces the legacy tenant_name field; both are returned.

Example:

"EU Sales"

tenant_id
string

Will be deprecated in future. Use id instead.

Example:

"eu-sales"

tenant_name
string

Will be deprecated in future. Use name instead.

Example:

"EU Sales"

parent_id
string | null

Parent tenant id when this tenant is a sub-tenant. null for root tenants (including flat tenants that aren't part of a hierarchy).

Example:

"eu"

ancestors
string[]

For sub-tenants: ancestor tenant ids from root down to the immediate parent (excludes the tenant itself). Empty for root and flat tenants.

Example:
level
integer

For sub-tenants: depth in the tree. Root = 0, max = 4. Flat tenants always report 0.

Example:

2

children_count
integer

For sub-tenants: number of direct children. 0 for tenants with no sub-tenants.

Example:

0

logo
string<uri> | null

Tenant logo URL.

Example:

"https://logo.png"

timezone
string | null

Tenant timezone. Used as a fallback when the recipient user has no timezone set.

Example:

"America/New_York"

blocked_channels
string[] | null

Channels turned off for this tenant. Notifications on these channels won't be sent to any user of the tenant — including on root categories (which users normally can't unsubscribe from) — and users can't override this. If sub-tenants are used, a block set here also applies to every sub-tenant below and can't be removed lower down.

Example:
embedded_preference_url
string<uri>

URL of your product's preference page.

Example:

"https://app.suprsend.com/en/user-settings/notifications"

hosted_preference_domain
string

Domain of the SuprSend-hosted preference page.

Example:

"preferences.suprsend.com"

primary_color
string | null

Primary brand color, used in the tenant's email header, buttons, and footer. If left empty on create, it's copied from the default tenant.

Example:

"#ff0055"

secondary_color
string | null

Secondary brand color. Not part of the default tenant component but can be used in templates as {{$tenant.secondary_color}}. If left empty on create, it's copied from the default tenant.

Example:

"#00ff00"

tertiary_color
string | null

Tertiary brand color. Not part of the default tenant component but can be used in templates as {{$tenant.tertiary_color}}. If left empty on create, it's copied from the default tenant.

Example:

"#0000ff"

Tenant's social media URLs.

properties
object

Custom tenant properties (local values only). Inherited values from ancestors are resolved at trigger time.

Example:
updated_at
string<date-time>

Timestamp when the tenant was last updated.

Example:

"2026-08-27T21:01:35.359787Z"