REST API and webhooks — content, products, orders and leads, accessible programmatically
Everything on your site is accessible through a REST API: content, products, orders and leads. Webhooks notify your systems on every event, and content can be consumed headless — in your mobile app, another frontend or any integration.
What you can build on the 4salefood API
REST API for your site's data
Read and write content, products, orders and leads through authenticated REST endpoints, with predictable JSON responses.
Webhooks on events
New lead, order placed, payment confirmed, content published — you receive a POST on your endpoint, in real time.
Headless when you need it
Use 4salefood as a content and product backend with your own frontend: mobile app, kiosk or another site.
API keys with permissions
Separate keys per integration, with read or write rights and instant revocation — no shared passwords.
Natively tied to the 4b2b ecosystem
The same APIs connect your site to CRM (4softcrm), invoicing (4invoices) and notifications (4notify).
Generate an API key from the panel, choose its permissions and start calling the REST endpoints. For events, register your webhook URL and receive the JSON payload on every chosen event.
Frequently asked questions about the API & webhooks
Build on top of the platform
REST API, webhooks and headless access — documented and ready for your first integration.