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

# Quickstart

> Make your first authenticated FinSync API request and understand the base integration flow.

# Quickstart

The most common integration path is:

1. Create an API key from the FinSync application.
2. Send requests to `https://finsync.ar/api/...`.
3. Store the API key securely and send it in the `x-api-key` header.

## First request

```bash theme={null}
curl --request GET \
  --url "https://finsync.ar/api/clients?page=1&pageSize=10" \
  --header "x-api-key: YOUR_API_KEY"
```

## JavaScript example

```javascript theme={null}
const response = await fetch("https://finsync.ar/api/clients?page=1&pageSize=10", {
  headers: {
    "x-api-key": process.env.FINSYNC_API_KEY,
  },
});

if (!response.ok) {
  throw new Error(`FinSync request failed: ${response.status}`);
}

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

## What to expect

* Most endpoints return JSON.
* Some list endpoints support pagination through `page` and `pageSize`.
* Superadmin routes use bearer authentication instead of API keys.

## Next steps

* Review [Authentication](/docs/authentication) for header details.
* Open the `API Reference` tab in this portal for endpoint-level schemas and examples.
