Authentication
The API feature must be enabled for your account. Contact support if you do not have access yet. Once enabled, a user with account-management permission can sign in and create the account's API token under Settings → Account.
There is one API token per account. If you lose it, you can reset it in the same place. Resetting replaces the previous token, so integrations using the old token must be updated.
Provide the token in the Authorization header after the keyword token:
curl 'https://app.yourbarmate.com/api/reports/deliveries?stage=PROCESSED&status=COMPLETED&limit=25' \
--header 'accept: application/json' \
--header 'authorization: token YOUR_API_TOKEN'
Replace YOUR_API_TOKEN with your account token. Keep it private and use HTTPS for every request.