API documentation
Everything you need to connect your systems with YourBarMate.
Get started
Use YourBarMate data in your existing systems. Enable API access, create a token and make your first request.
Create your token
A user with account-management permission can create the account's API token under Settings → Account.
Open account settingsMake your first request
Send the token in the Authorization header and start with a read-only endpoint.
AuthenticationExample: read an Inventory report
Replace REPORT_ID with the created timestamp from the Inventory list and YOUR_API_TOKEN with your account token. The response contains a temporary URL for the JSON report.
curl 'https://app.yourbarmate.com/api/reports/inspections/REPORT_ID' \
--header 'accept: application/json' \
--header 'authorization: token YOUR_API_TOKEN'
Read the Inventory report reference
What you can do
The API gives you structured access to your data and lets you run selected workflows directly from other systems.
Read Shop, Inventory, Cost of goods, Stock and Transfer reports, plus Timeline entries.
Read and manage items, vessels and bundles, or import and export item data.
Read and manage supplier details, or access connected catalogues and recommendations.
Read and manage the product groups used by your items.
Read orders, deliveries and order lists, or book received deliveries into an area.
Read areas, their stock and related transfer orders.
Read ingredients, ingredient groups, recipes and recipe groups.