Get Workspace Config
Retrieve workspace-level configuration flags — the settings that govern behavior for every user, tenant, and workflow inside this workspace.
Fields returned:
user_inbox_preference_enabled— if you are using the Inbox channel, enable this to show the Inbox channel in the preference centre.sms_vendor_type— SMS delivery mode used for this workspace (basicfor standard sends,dltfor India DLT-compliant sends).user_tenancy_mode— how a user’s association to tenants is constrained.sharedallows a user to belong to any number of tenants;exclusiverestricts each user to at most one tenant. See User-tenant mapping for the trade-offs.user_tenancy_channel_fallback_modeanduser_tenancy_channel_fallback— govern which channels on a tenant-scoped profile are allowed to fall back to the user’s global profile. Useallowlistmode with an explicit list to prevent identities like$androidpushor$slackfrom leaking across tenants.user_tenancy_channel_fallback_applies_to_default_tenant— whether the fallback rule above also applies to the default-tenant path (sends without atenant_id).
Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
Workspace slug (e.g. staging, production).
Response
Workspace config retrieved.
Workspace-level configuration flags.
If you are using the Inbox channel, enable this to show the Inbox channel in the preference centre.
true
SMS delivery mode for the workspace. Use dlt for India DLT-compliant sends; basic for standard sends.
basic, dlt "basic"
Constraint on user-tenant associations for this workspace.
shared— a user can belong to any number of tenants.exclusive— a user can belong to at most one tenant. The associate call rejects users that already have a mapping.
New workspaces default to exclusive; workspaces that existed before this setting was introduced default to shared.
shared, exclusive "exclusive"
Controls which channels a tenant-scoped profile is allowed to inherit from the user's global profile when the tenant has no override for that channel.
all— every channel falls back to global (default; reproduces a straight shallow merge).allowlist— only the channels listed inuser_tenancy_channel_fallbackfall back; every other channel is dropped from the send when the tenant has no override for it. Prevents identities like$androidpushor$slackfrom leaking across tenants.
all, allowlist "all"
Channel keys allowed to fall back from the global profile when user_tenancy_channel_fallback_mode = allowlist. Ignored when the mode is all.
Typical setup: ["$email", "$sms", "$whatsapp"] — safe to fall back — while excluding $androidpush, $iospush, $webpush, $inbox, and $slack.
Whether the fallback rule above also governs sends that carry no tenant_id (the default-tenant path).
false(default) — the default-tenant path always falls back for every channel, regardless of the allowlist.true— the default-tenant path follows the sameuser_tenancy_channel_fallback_mode+user_tenancy_channel_fallbackrule as other tenants.
false