StagingMenu
On this page

Staging

Run your integration against a second workspace for staging; there is no test mode.

View as MarkdownOpen in ClaudeOpen in ChatGPTUpdated

There is no test mode and no test API key. To run your integration from staging, use a second workspace. It has its own contacts, events, segments, templates, campaigns, journeys, webhooks, push apps, API keys and sending domains. It isn’t fully isolated: it draws on the same plan allowances as your other workspaces, and a hard bounce or spam complaint there also blocks that address in every workspace with the same owner or partner. Use the reserved test addresses for automated runs (below).

Staging is a separate workspace rather than a test key or a test mode, so it uses the same rules and limits as production.

Set one up

  1. Create the workspace. In the dashboard, open your account menu and choose New workspace; name it something like “Juniper Kitchen – Staging”. You become its owner. The number of workspaces a login can own depends on its plan: Free 1, Starter 2, Growth 5, and Enterprise as agreed, so a staging workspace needs a paid plan.
  2. Verify a sending domain in it, and get it approved. A domain can be verified in only one workspace, so use a subdomain of your live domain, such as staging.juniperkitchen.com. Fill in the staging workspace’s sending profile so Kirora can review the domain: nothing sends from it until it is approved, test emails included. Sending from its own domain also keeps a bad test run off your live domain’s reputation.
  3. Create an API key there, under Developer → API keys, with the scopes your staging app needs. See Authentication.
  4. Point your staging app at that key. The base URL is the same; the key decides the workspace.
  5. Recreate what the app depends on: the templates it sends (publish them — sends use the published version), webhook endpoints, push apps and their credentials, topics.

What to expect

  • It sends for real, to anyone. Staging is not a sandbox that swallows mail. Use addresses you own, or your team’s, as test contacts. Invented addresses on real domains bounce, and bounces count against the staging domain’s reputation and can pause its marketing sends.
  • For automated runs, use the reserved test addresses. Email to example.com, example.net, example.org (and their subdomains) or a .test, .example, .invalid or .localhost address passes every check, then stops: it is never delivered and counts toward no limit or reputation. [email protected], [email protected] and [email protected] act out that outcome and fire the matching webhook, marked simulated; a simulated bounce or complaint suppresses nothing. See Test addresses.
  • Every rule applies as in live: suppression, consent, quiet hours, message limits, idempotency, rate limits and webhooks.
  • Usage counts. A staging workspace draws on its owner’s plan like any other workspace they own: emails, contacts and AI credit are shared across the owner’s workspaces, and it doesn’t come with an allowance of its own.

Moving tested content to live

Copy a template between workspaces through the API, with a key from each:

HTTP
GET /v1/templates/{id}
Authorization: Bearer <staging key with templates:read>

Then create it in live from the response’s kind, name, transactionalDefaults, plainTextOverride, translations and any alias and tags it has, plus its content: schemaVersion, blocks, theme and language for a design template, html for an html one:

HTTP
POST /v1/templates
Authorization: Bearer <live key with templates:write>
Content-Type: application/json

A new template is published as version 1 when created. Campaigns, journeys and segments are rebuilt in live; ids differ between workspaces, so anything that names another resource (a segment in a campaign, a template in a journey step) must point at the live one.

Checking content without a second workspace

For “does it look right?”, the live workspace already has safe tools that send nothing to customers: test sends to members or a saved test list, previews rendered as a chosen contact, segment preview and count, and journey simulation.

Next steps