# Quick Start

Integrate with the Monetarie NPC API in 5 minutes.

## 1. Get your API Key

To access the API, you need an API Key. Contact support to obtain your credentials:

- **Email:** suporte@fluxiq.com.br
- **Portal:** [npcadmin-dev.fluxiq.com.br](https://npcadmin-dev.fluxiq.com.br)

## 2. Environments

| Environment | Base URL                                 | Description                  |
|-------------|------------------------------------------|------------------------------|
| Local       | `http://localhost:4000/api/v1/central`   | Local development            |
| Sandbox     | `https://sandbox.monetarie_npc.com.br/api/v1/central` | Testing and staging  |
| Production  | `https://api.monetarie_npc.com.br/api/v1/central`     | Production environment |

## 3. First Request

Let's verify that your API Key is working correctly by making a request to the health check endpoint.

::: code-group

```bash [cURL]
curl -X GET "https://sandbox.monetarie_npc.com.br/api/v1/central/health" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json"
```

```javascript [JavaScript]
const response = await fetch(
  "https://sandbox.monetarie_npc.com.br/api/v1/central/health",
  {
    method: "GET",
    headers: {
      "X-API-Key": "your_api_key_here",
      "Content-Type": "application/json",
    },
  }
);

const data = await response.json();
console.log(data);
```

```python [Python]
import requests

url = "https://sandbox.monetarie_npc.com.br/api/v1/central/health"
headers = {
    "X-API-Key": "your_api_key_here",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())
```

:::

## 4. Expected Response

If everything is configured correctly, you will receive the following response:

```json
{
  "status": "ok",
  "timestamp": "2026-02-03T12:00:00Z",
  "version": "1.0.0"
}
```

### Response Codes

| Code   | Meaning                                          |
|--------|--------------------------------------------------|
| 200    | Success - API functioning normally               |
| 401    | Unauthorized - Invalid or missing API Key        |
| 429    | Request limit exceeded                           |
| 500    | Internal server error                            |

## Next Steps

Now that your integration is working, explore the API resources:

- [Authentication](/en/authentication) - Understand how API Key authentication works
- [Create Boleto](/en/api/boletos) - Register your first boleto
- [Webhooks](/en/webhooks/) - Configure real-time notifications
