# API reference

> Every route of the Alya Books API, generated from the OpenAPI document.

Source: /docs/api-reference/introduction

The pages in this tab are generated from the OpenAPI 3.0 document served at `GET https://api.alyabooks.ai/api/v1/openapi.json`. Each operation lists its parameters, request body, responses and the scope the API key needs (`x-scope`).

- Authentication: `X-API-KEY` header ([Getting started](/docs/getting-started)).
- Optional `X-Organization-Id` header on every operation for CA firms.
- Error shape and codes: [Errors](/docs/reference/errors).
- Try requests with the CLI (`alyabooks <resource> <command> --json`) or import the document into Postman, Insomnia or Bruno.
