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

# Environments and access

Everything you do through the API happens inside one environment. Before your first API call you need to know which environment you are talking to, and where your development work is going to happen.

## What an environment is

Circularo runs in the cloud, in several regions. An environment is self-contained: an account, a document or an API key exists in exactly one environment, and nothing is shared between them.

The practical consequence is that an API key authenticates only against the environment it was issued in. A key from your development environment is rejected with `401` against production, and the other way round.

## Your base URL

Every request goes to your environment's host, under the Circularo API v2 prefix:

```text theme={null}
https://<your-environment>/api/v2
```

That host is normally the same one you use to sign in to the Circularo web app; if your deployment serves the API elsewhere, your administrator will tell you where. The `v2` segment is the version of the API and stays part of every path.

An organization can also be given a hostname of its own. If yours has one, that hostname is your base URL.

The examples throughout the [Guides](https://developers.circularo.com/guides) use `https://sandbox.circularo.com/api/v2`, Circularo's sandbox environment for testing integrations. Substitute your own host and every path below it stays identical.

> [!NOTE]
>
> You do not pass your organization as a request parameter. The API key identifies the account it was issued to, and with it the organization that account belongs to.

## Getting an environment

* **Free trial.** Thirty days, no credit card, at [circularo.com/trial](https://www.circularo.com/trial/). You choose data residency when you sign up — Europe (EU), Middle East and Africa (UAE), or Saudi Arabia (KSA).
* **Existing customer.** Your environment already exists. What you need is an account on it holding the permissions your integration will use, and an API key for that account — see [Get your first API key](https://developers.circularo.com/introduction/get-your-first-api-key.md). Circularo API v2 also has to be enabled for your organization; if it refuses your valid key with `403`, ask Circularo support to enable it.
* **A separate environment for integration work.** An account in the sandbox environment, or an environment of your own, is arranged through Circularo support; it is not something you can provision yourself.

## Development and production

The API has no test mode. Every call takes effect in the environment it is sent to, and no flag turns a call into a rehearsal: a document you create exists, and an invitation you send is delivered to the address you named. Build against a non-production environment.

## What changes when you move between environments

Two things always change: the host in your base URL, and the API keys. Beyond those, each environment carries its own configuration, and parts of the API answer according to it — which document categories and metadata definitions exist, whether sharing outside the organization is allowed, which recipient verification methods are enabled, whether a sealing certificate is installed. Code that works in one environment can therefore fail in another on configuration alone, with nothing different about the API.

So when you point an integration at a new environment, check that:

* the base URL is the new host;
* the API keys are the new environment's keys;
* the account behind each key holds the permissions the integration needs;
* the features you depend on are configured there — external sharing, the verification methods you request, sealing, and the categories and metadata definitions you write to.

## Before your first call

You need your base URL and one API key. That is the whole prerequisite: [Get your first API key](https://developers.circularo.com/introduction/get-your-first-api-key.md) covers issuing one, and the [Guides](https://developers.circularo.com/guides) take it from there.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.