API, Webhooks and MCP
SmVend connects to your own software and to AI assistants in three ways. Each has an article of its own:
- API: your software asks SmVend for data and sends commands, with a key.
- Webhooks: SmVend calls your server when a sale or an event happens.
- MCP: an AI assistant, for example Claude or ChatGPT, works with your machines in plain language.
In the app they are three tabs of Settings → Integrations: API, Webhooks and MCP.
Which one to choose
Section titled “Which one to choose”| You want to | Use | Who does the work |
|---|---|---|
| Load sales, stock or machine state into your own system, change prices or planograms from it | API | A developer writes the requests |
| Learn about every sale or event at once, without asking | Webhooks | A developer runs a server that takes the calls |
| Ask about your machines in plain language, get reports, make changes by chat | MCP | You connect an assistant yourself, no code |
The API and webhooks are often used together: webhooks tell your system that something happened, and the API gets the details or acts.
Who can use them
Section titled “Who can use them”- The role: the Administrator opens the three tabs. Only an administrator connects an AI assistant by signing in with SmVend.
- The plan: the Pro plan, or a trial. On other plans the tabs are not shown: see Plans and trial.
- Approval: the API and MCP tabs open after SmVend approves your company for the API. Until then they show API and MCP access with the Contact support button. Write to support, and we turn them on.
Permissions
Section titled “Permissions”An API key and an AI assistant get the same three permissions. Give only what is needed:
| Permission | What it allows |
|---|---|
| Read | Machine state, sales, events, stock, catalogue, collections |
| Write | Prices and planograms, catalogue, refills, collections |
| Deposit | Crediting a machine, free dispense, remote payments. Real money |
In the mobile app
Section titled “In the mobile app”The three tabs are in the Settings tab, Integrations, too: you create and revoke API keys, manage webhooks, open the MCP steps and disconnect AI assistants there.
The developer documentation of the API, the webhooks and the MCP server: api.smvend.io.