Skip to main content
The SuprSend CLI works with self-hosted and BYOC deployments the same way it does with SuprSend Cloud - all commands for managing workflows, schemas, events, and categories are identical. The only difference is how you authenticate. On SuprSend Cloud, the CLI connects to SuprSend’s default API endpoints automatically. For self-hosted and BYOC deployments, your API endpoints are different (for example, https://suprsend.internal.yourcompany.com/), so the CLI needs to know where to connect. Profiles solve this by storing your custom endpoint URLs and credentials locally, so you don’t have to pass them on every command.
Profiles are not workspaces. A profile stores server connection details (custom API endpoint URLs + credentials) for a self-hosted or BYOC deployment. A workspace (-w staging or -w production) selects a workspace within a SuprSend instance. They serve different purposes:
  • Profilewhich server to connect to (only needed for self-hosted / BYOC)
  • Workspace flag (-w)which workspace on that server (staging, production, etc.)
If you are using SuprSend Cloud (SaaS), you do not need profiles. Use environment variables or command-line flags instead.

Prerequisites

  • Install the SuprSend CLI
  • Have your service token ready (from your self-hosted dashboard → Account Settings → Service Tokens)
  • Know your deployment’s base URL and management URL

Create a Profile

A profile stores your server’s endpoint URLs and service token under a name you choose:
You can create multiple profiles for different self-hosted deployments:

Switch Between Profiles

Set which profile the CLI should use for all subsequent commands:
After this, every CLI command will connect to the production server’s endpoints. To target a specific workspace on that server, combine with the -w flag:

Manage Profiles

Profiles are stored in your local config file at $HOME/.suprsend.yaml.

Next Steps

Once your CLI is connected, refer to the CLI documentation for all available commands - managing workflows, schemas, events, categories, translations, and syncing assets across workspaces.