# Widgets **Category:** Public **Base URL:** `/widgets/flow-builder` **Authentication:** Mixed **Routes:** 2 routes documented ## Overview This section documents 2 API routes for widgets. ## Quick Reference | Method | Endpoint | Description | |--------|----------|-------------| | GET | `/widgets/flow-builder/button.js` | // GET /widgets/flow-builder/button.js - Serve widget file | | GET | `/widgets/flow-builder/receipt.js` | // GET /widgets/flow-builder/receipt.js - Serve receipt widg... | --- ## GET Widgets Flow-builder Button.js **Endpoint:** `GET /widgets/flow-builder/button.js` **Authentication:** Public (Optional) ### Description // GET /widgets/flow-builder/button.js - Serve widget file ### Response **Error (404):** ```typescript { error, } ``` **Error (500):** ```typescript { error, } ``` ### Example Request ```bash curl -X GET 'https://your-store.omnicart.cc/widgets/flow-builder/button.js' \ -H 'Content-Type: application/json' ``` --- ## GET Widgets Flow-builder Receipt.js **Endpoint:** `GET /widgets/flow-builder/receipt.js` **Authentication:** Public (Optional) ### Description // GET /widgets/flow-builder/receipt.js - Serve receipt widget file ### Response **Error (404):** ```typescript { error, } ``` **Error (500):** ```typescript { error, } ``` ### Example Request ```bash curl -X GET 'https://your-store.omnicart.cc/widgets/flow-builder/receipt.js' \ -H 'Content-Type: application/json' ``` ---