> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sparqle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Environments

> Test and live base URLs for the Sparqle API.

Sparqle runs two isolated environments. Each has its own base URL and its own
[API key](/authentication). Orders, labels, and webhooks never cross between
them.

| Environment | Base URL                          | Purpose                                                             |
| ----------- | --------------------------------- | ------------------------------------------------------------------- |
| **Test**    | `https://staging-v2.sparqle.tech` | Build and validate your integration. No real courier is dispatched. |
| **Live**    | `https://v2.sparqle.com`          | Production. Creating an order dispatches a real delivery.           |

<Warning>
  Confirm the live base URL with your Sparqle contact before going to
  production — it is environment-specific and may differ from the value above.
</Warning>

## Going live checklist

<Steps>
  <Step title="Swap the base URL and key">
    Move from `staging-v2.sparqle.tech` + test key to the live URL + live key.
  </Step>

  <Step title="Re-point your webhooks">
    Register your production webhook URL against the live environment. See
    [Webhooks](/webhooks).
  </Step>

  <Step title="Confirm your locationId">
    Live `locationId` values differ from test. Use the ones issued for
    production.
  </Step>

  <Step title="Run one real order end to end">
    Create, print the label, and confirm you receive the expected status
    webhooks before enabling at scale.
  </Step>
</Steps>
