Building an integration
For developers: a seller issues your credential from their dashboard, and a scoped, versioned API lets your software read RFQs and submit quotes.
Yantra Bhavan has a public, versioned API for software that works on a seller's behalf: a workshop's own ERP or MES, an internal script, or a tool you build for many sellers. It uses OAuth2 client credentials, and every route is scoped.
Getting a credential
Credentials are issued by the seller, not by us. An Owner or Manager opens Slicer connections, chooses Connect, picks Third-party software, and gives you the one-time enrolment code it shows. Your software redeems that code once for a client ID and secret. The credential is bound to that one shop and acts as the seller who created it.
What a third-party credential can do
integration:parts:writeintegration:quotes:readintegration:quotes:submitintegration:rfq:readintegration:files:readintegration:orders:write— only when the seller ticks Can create orders; see order API and webhooks
A slicer's print-host key is a different kind, holding only integration:slice:upload. It is for slicers, not for code — see sending a slice back.
Reference
- The live API reference (OpenAPI), listing every public route with its scope.
- The contract package,
@yb/integration-contract, holds the scopes, units, statuses and error shapes, and its README walks through enrolment, tokens and every route. A generated Node client,@yb/integration-sdk, sits beside it. Neither is on a public registry yet — ask us for access.
Handling seller data
A quote includes the buyer's name and email. Treat them as personal data: store only what your tool needs, and delete it when the seller disconnects you. See what leaves your machine for how we describe this to sellers.
Read next
- What leaves your machineBuyers are priced from measurements before any file moves. A seller's slice is read and discarded, and a print-host key can only upload.
- Sending a slice back from your slicerAdd Yantra Bhavan as a print host once, and every slice you send back becomes a priced draft line on the right quote. Start by checking your printer profile.
- Order API and webhooksSend orders from your own website or ERP to the Production Floor, and receive signed webhooks as lines are mapped, jobs move and orders ship.
Ready to set up your shop?