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

# API reference

> Base URL, authentication and conventions for the SleetPay API.

Base URL `https://app.sleetpay.com`. Every endpoint is under `/api/v1` and takes `Authorization: Bearer sk_live_...` unless it is marked public. See [Authentication](https://docs.sleetpay.com/guides/authentication.md) for scopes.

The pages in this section are generated from the live OpenAPI 3.1 document, so they match the API. You can use the same document directly:

```bash theme={null}
curl https://app.sleetpay.com/api/v1/openapi.json
```

## Conventions

* JSON bodies in `snake_case`.
* Amounts are integers in the currency's minor unit (cents for USD).
* Timestamps are ISO 8601.
* Lists return `{ items, pagination }` and take `page` and `limit` (max 100).
* Your own user id travels as `external_customer_id` or `external_id`.

More in [Errors, limits and pagination](https://docs.sleetpay.com/guides/errors.md).

## Authentication

Create an API key in **Dashboard > API keys** with only the scopes the server needs. Each endpoint page names the scope it requires. A missing scope answers `403`; a missing, expired or revoked key answers `401`.


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