# Environments & Authentification

## Environments & Authentication

### Authentication

All endpoints require a valid **Bearer token** passed in the `Authorization` header:

```http
Authorization: Bearer {{api_token}}
```

* Tokens are issued per environment and tied to your organization.
* Tokens issued by Apentis do **not expire automatically**.
* If your security policy requires regular rotation, you may request a new token from the Apentis support team.
* Store tokens securely (e.g., in a secrets manager). Do not commit them to code or logs.

{% hint style="info" %}
See [**Security > Tokens**](/apentis-api/security.md#tokens) for details on token lifecycle, storage, and error codes.
{% endhint %}

### Environments

<table><thead><tr><th width="147">Environment</th><th width="254">Base URL</th><th>Notes</th></tr></thead><tbody><tr><td>Production LU</td><td><code>https://riskquadrant.com/api</code></td><td><p>Used for clients hosted on Apentis Luxembourg infrastructure</p><p></p><p>Use with real client data. </p><p></p><p><mark style="color:red;">Requires allow-listing of your source IP addresses.</mark></p></td></tr><tr><td>Production CH</td><td><code>https://riskquadrant.ch/api</code></td><td><p>Used for clients hosted on Swiss infrastructure.</p><p></p><p>Use with real client data. </p><p></p><p><mark style="color:red;">Requires allow-listing of your source IP addresses.</mark></p></td></tr><tr><td>Test</td><td><code>https://rq-test.com/api</code></td><td><p>Safe for testing and experimentation. </p><p>Ideal for integration development and demos.</p><p></p><p><mark style="color:$danger;">No production data should be sent to this environment.</mark></p></td></tr></tbody></table>

The test environment uses mock AML scoring and simulated KYC rules for experimentation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apentis.gitbook.io/apentis-api/environments-and-authentification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
