Documentation Index
Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
Use this file to discover all available pages before exploring further.
Understanding workspaces
A workspace in SuprSend is a logically isolated environment within your account that holds its own copy of all notification assets and configuration: workflows, templates, users, preferences, vendor integrations, API keys, and logs. Workspaces are how SuprSend separates sandbox, testing, and production environments so that changes you make in one environment never leak into another. Every account starts with three default workspaces (Sandbox, Staging, and Production) and you can create additional workspaces as your team and use cases grow. You can switch between workspaces from the top-left workspace switcher on the SuprSend dashboard.Default workspaces
Every SuprSend account is provisioned with three default workspaces, each with a different purpose in your release lifecycle.Sandbox
Sandbox
- Comes with pre-configured vendors for Email, SMS, WhatsApp, and Inbox so you can send your first notification without setting up any vendor.
- Includes a sample workflow and a sample user profile created using your registered email and pre-configured channels.
- Available for a trial period, with capped usage limits to prevent spam.
- Best used to evaluate SuprSend, run a quick demo, or familiarize yourself with the dashboard.
Staging
Staging
- Bring your own vendors and configure API keys, public keys, and signing keys for staging.
- Enable Test Mode to safely validate workflows without delivering messages to real users. In Test Mode, notifications go only to designated internal testers, with an optional catch-all channel to redirect anything else.
- Iterate freely. Your changes never affect production users.
Production
Production
- Hosts your live vendors, API keys, and end-user data.
- We strongly recommend not making changes directly in production. Always test in staging and promote changes via cloning, the Management API, or the SuprSend CLI.
- Non-admin users have additional restrictions in production (cannot view PII or edit user/object properties and preferences). See roles and permissions.
What’s isolated per workspace
Each workspace owns a fully independent copy of the resources below. Nothing is implicitly shared across workspaces.| Scope | What it includes |
|---|---|
| Assets | Workflows, templates, template variants, schemas, translations, notification categories |
| User data | Users, objects, lists, preferences, channel identities |
| Configuration | Vendors, vendor fallback, tenants, tenant preferences, tenant vendors |
| Credentials | Workspace key & secret, API keys, public keys, signing keys, Inbox secret |
| Operational data | Logs (requests, executions, messages), analytics, broadcasts |
| Settings | Test Mode, webhook URLs, connector configuration |
| Data region | The data centre where workspace data is hosted. Different accounts not needed in case of multi-region data hosting requirement. |
Workspace credentials
Authentication credentials in SuprSend are scoped per workspace, so staging credentials can never accidentally trigger production notifications and vice versa.| Credential | Used for | Scope | Where to find it |
|---|---|---|---|
| Workspace Key & Secret | Backend SDK authentication | Workspace | Dashboard → Developers → API Keys (top of the page) |
| API Key | REST API authentication (Authorization: Bearer <API_KEY>) | Workspace | Dashboard → Developers → API Keys → Generate API Key |
| Public Key | Client SDK authentication (web/mobile) | Workspace | Dashboard → Developers → API Keys → Public Keys |
| Signing Key | Generating signed user tokens (JWT) when Enhanced Security Mode is on | Workspace | Dashboard → Developers → API Keys → Signing Keys |
| Service Token | Management API and CLI authentication | Account (cross-workspace) | Dashboard → Account Settings → Service Tokens |
Workspace and tenants
Workspaces and tenants are often confused but solve very different problems:- Workspaces isolate environments (sandbox vs staging vs production) and business lines that don’t share data, with separate users, workflows, vendors, credentials, and logs.
- Tenants customize branding, templates, preferences, and vendor routing per customer within the same workspace, with shared workflows and templates with runtime customization via
tenant_id. Option to have isolated users per-tenant or share users across tenants.
default tenant that represents your own organization. If no tenant_id is passed at trigger time, the default tenant’s properties are applied. See Tenants Overview for more.
Promoting changes across workspaces
Because workspaces are isolated, you’ll need to explicitly move tested changes from staging to production. SuprSend supports 3 ways to do this:Clone from the dashboard
SuprSend CLI
-w flag. Ideal for codifying assets in Git and running repeatable promotions from CI/CD.Management API
Working with workspaces in code
Backend SDKs
Initialize the SDK with the workspace key and secret of the target workspace. Switching environments is a configuration change, not a code change.REST API
Pass the workspace’s API key as a Bearer token. The host (https://hub.suprsend.com) is the same across workspaces. The credential determines which workspace you’re acting on.
CLI
Pass the workspace slug with the-w (--workspace) flag. Defaults to staging if omitted.
Management API
Most management endpoints are scoped per workspace via the path parameter. Authentication uses an account-level Service Token.GET /v1/workspace to list all workspaces in your account, and POST /v1/workspace to create new ones. See Workspaces & Auth Keys for the full set of workspace-scoped endpoints (API keys, public keys, signing keys).
Members, roles, and access in workspaces
Team members are invited at the account level. SuprSend supports two roles by default, Admin and Member. For Granular RBAC, contact us.- Admins have full access across all workspaces.
- Members have restricted access in production: they cannot view PII data and cannot edit user or object properties or preferences in the production workspace. They retain full edit rights in staging, sandbox and custom workspaces.
FAQ
How many workspaces do I get by default?
How many workspaces do I get by default?
Are workspaces isolated from each other?
Are workspaces isolated from each other?
Can I share users across workspaces?
Can I share users across workspaces?
What's the difference between workspaces and tenants?
What's the difference between workspaces and tenants?
tenant_id. See Tenants Overview for more.How do I move workflows or templates from staging to production?
How do I move workflows or templates from staging to production?
Can I use the same API key in multiple workspaces?
Can I use the same API key in multiple workspaces?
How do I authenticate against a specific workspace?
How do I authenticate against a specific workspace?
-w <workspace_slug>. For the Management API, the workspace slug is part of the URL path (e.g., /v1/staging/ws_api_key/). Service Tokens authenticate the request; the path or credential determines the workspace.Can members see all workspaces?
Can members see all workspaces?
Is Test Mode available in every workspace?
Is Test Mode available in every workspace?
How do I delete a workspace?
How do I delete a workspace?
Can I rename a workspace?
Can I rename a workspace?
staging, production) is permanent and cannot be changed after creation.How should I model multi-region workspaces?
How should I model multi-region workspaces?
How should I model multiple product lines?
How should I model multiple product lines?
How should I model multiple mobile applications?
How should I model multiple mobile applications?