Base URL
You can reach the API at the following base URL:
https://app.yourbarmate.com/api
Send requests over HTTPS with your API token. Most endpoints exchange JSON; export endpoints return a temporary URL for downloading a file. Pagination differs by endpoint: follow the offset or cursor instructions on the relevant page. For status codes and examples, see Error responses.
App labels and API paths
The documentation uses the same names as the app. API paths and JSON field names remain unchanged where they use an older technical term.
| App label | API resource |
|---|---|
| Items | /items |
| Suppliers | /suppliers |
| Product groups | /categories |
| Reports | /reports/... |
The API also offers read access to Calculations (ingredients and recipes) and Areas and stock. The Timeline is grouped with Reports, matching its place in the app, although its API path is /timeline. With the Shop endpoints, you can read operational data and record received deliveries of existing Items. These resources have separate endpoints from the report exports.
Use GET /divisions to find division IDs for report filters and other requests that accept a division parameter.