All paths are relative to the base URL and use the API token.
| Method | Path | Result |
|---|---|---|
| GET | /inspections |
{ "list": [...] } |
| GET | /inspections/{inspection} |
One Inventory record |
GET /inspections lists pending records, not the full Inventory history. Entries include created, type, status and location; division is present when the record belongs to a division. The list endpoint has no query filters or pagination in the current backend implementation.
Use an entry's created value as {inspection} to read its details. The detail response includes the record's timeline, settlement and items in addition to its identifying properties.
curl 'https://app.yourbarmate.com/api/inspections' \
--header 'accept: application/json' \
--header 'authorization: token YOUR_API_TOKEN'