You need a YBM Connect account and an API token to use the REST API.
Contact our support team to request YBM Connect access. Once you can sign in to the Connect app, generate your API token under Settings → Integration.
Keep the token on your server and never expose it in browser code, public repositories or client applications. Resetting the token invalidates the previous token and any integration using it.
API base URL
The production API base URL is:
https://connect.yourbarmate.com/api
All API requests must use HTTPS. Requests with a JSON body must also include
the Content-Type: application/json header.
Send the token
Include the token in the Authorization header of every API request. Use the
token authorization scheme:
curl \
-H "Authorization: token $YBM_TOKEN" \
-H "Accept: application/json" \
"https://connect.yourbarmate.com/api/products"
Bearer tokens are used by the YBM Connect application for user sessions. For
server-to-server REST API requests, use the API token with the token scheme
shown above.