API Reference¶
Welcome to the Atlas ERP API Reference. The backend exposes a comprehensive, RESTful API (built with NestJS) that powers the frontend application and can be used for third-party integrations.
Base URL¶
In local development, the API is available at:
| Text Only | |
|---|---|
In production, the base URL depends on your deployment (e.g., https://api.yourdomain.com/api/v1).
In this section¶
- Authentication — How to authenticate and obtain tokens.
- Authorization — Roles, permissions, and workspace scoping.
- REST Endpoints — List of available controllers and routes.
- GraphQL Schema — Information on GraphQL support (if enabled).
- Rate Limiting — API request limits and throttling.
- Error Responses — Understanding API error formats.
General Conventions¶
- JSON Only: All requests must send
Content-Type: application/jsonand will receive JSON responses. - Standard Response Format: All successful API responses are wrapped in a standard object:
- Standard Error Format: All errors are wrapped in a standard object:
- Pagination: Endpoints returning lists generally accept
pageandlimitquery parameters.