Flow Builder
Category: Admin
Base URL: /admin/flow-builder
Authentication: Required
Routes: 10 routes documented
Overview
This section documents 10 API routes for flow builder.
⚠️ These endpoints operate on your live store.
POST/PUT/DELETEoperations here — including sync, push, resync, and cache operations — modify or delete production data, and some trigger downstream effects such as warehouse orders or customer emails.DELETEoperations are generally irreversible. Verify IDs and parameters carefully before calling them from scripts.
Quick Reference
| Method | Endpoint | Description |
|---|---|---|
| GET | /admin/flow-builder |
// GET /admin/flow-builder/flows - List all flows |
| POST | /admin/flow-builder |
No description |
| GET | /admin/flow-builder/:id |
// GET /admin/flow-builder/:id - Get flow by ID |
| POST | /admin/flow-builder/:id |
No description |
| DELETE | /admin/flow-builder/:id |
// DELETE /admin/flow-builder/:id - Delete flow |
| GET | /admin/flow-builder/:id/analytics |
// GET /admin/flow-builder/:id/analytics - Get flow analytic... |
| GET | /admin/flow-builder/:id/buttons |
// GET /admin/flow-builder/:id/buttons - List flow buttons |
| POST | /admin/flow-builder/:id/buttons |
No description |
| PUT | /admin/flow-builder/:id/buttons |
// PUT is used instead of PATCH for better OmniCart compatibil... |
| GET | /admin/flow-builder/:id/embed-code |
// GET /admin/flow-builder/:id/embed-code - Generate embed c... |
| GET | /admin/flow-builder/:id/generate-demo |
// GET /admin/flow-builder/:id/generate-demo - Generate down... |
| GET | /admin/flow-builder/:id/publish-site |
// GET /admin/flow-builder/:id/publish-site - Get linked sit... |
| POST | /admin/flow-builder/:id/publish-site |
// POST /admin/flow-builder/:id/publish-site - Publish flow ... |
| GET | /admin/flow-builder/:id/urls |
// GET /admin/flow-builder/:id/urls - List all URLs for a fl... |
| POST | /admin/flow-builder/:id/urls |
No description |
| GET | /admin/flow-builder/buttons/:buttonId |
// GET /admin/flow-builder/buttons/:buttonId - Get button |
| POST | /admin/flow-builder/buttons/:buttonId |
No description |
| DELETE | /admin/flow-builder/buttons/:buttonId |
// DELETE /admin/flow-builder/buttons/:buttonId - Delete but... |
| POST | /admin/flow-builder/urls/:urlId |
No description |
| DELETE | /admin/flow-builder/urls/:urlId |
// DELETE /admin/flow-builder/urls/:urlId - Delete URL |
GET Admin Flow-builder
Endpoint: GET /admin/flow-builder
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/flows - List all flows
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder
Endpoint: POST /admin/flow-builder
Authentication: Admin (Required)
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id
Endpoint: GET /admin/flow-builder/:id
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id - Get flow by ID
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder :id
Endpoint: POST /admin/flow-builder/:id
Authentication: Admin (Required)
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder/:id' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
DELETE Admin Flow-builder :id
Endpoint: DELETE /admin/flow-builder/:id
Authentication: Admin (Required)
Description
// DELETE /admin/flow-builder/:id - Delete flow
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X DELETE 'https://your-store.omnicart.cc/admin/flow-builder/:id' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id Analytics
Endpoint: GET /admin/flow-builder/:id/analytics
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id/analytics - Get flow analytics
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id/analytics' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id Buttons
Endpoint: GET /admin/flow-builder/:id/buttons
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id/buttons - List flow buttons
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id/buttons' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder :id Buttons
Endpoint: POST /admin/flow-builder/:id/buttons
Authentication: Admin (Required)
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder/:id/buttons' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
PUT Admin Flow-builder :id Buttons
Endpoint: PUT /admin/flow-builder/:id/buttons
Authentication: Admin (Required)
Description
// PUT is used instead of PATCH for better client compatibility
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X PUT 'https://your-store.omnicart.cc/admin/flow-builder/:id/buttons' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id Embed-code
Endpoint: GET /admin/flow-builder/:id/embed-code
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id/embed-code - Generate embed code
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id/embed-code' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id Generate-demo
Endpoint: GET /admin/flow-builder/:id/generate-demo
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id/generate-demo - Generate downloadable demo funnel
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id/generate-demo' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id Publish-site
Endpoint: GET /admin/flow-builder/:id/publish-site
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id/publish-site - Get linked sites for a flow
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id/publish-site' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder :id Publish-site
Endpoint: POST /admin/flow-builder/:id/publish-site
Authentication: Admin (Required)
Description
// POST /admin/flow-builder/:id/publish-site - Publish flow to a new site
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder/:id/publish-site' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder :id Urls
Endpoint: GET /admin/flow-builder/:id/urls
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/:id/urls - List all URLs for a flow
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/:id/urls' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder :id Urls
Endpoint: POST /admin/flow-builder/:id/urls
Authentication: Admin (Required)
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Id identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder/:id/urls' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
GET Admin Flow-builder Buttons :buttonId
Endpoint: GET /admin/flow-builder/buttons/:buttonId
Authentication: Admin (Required)
Description
// GET /admin/flow-builder/buttons/:buttonId - Get button
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
buttonId |
string | Yes | ButtonId identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X GET 'https://your-store.omnicart.cc/admin/flow-builder/buttons/:buttonId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder Buttons :buttonId
Endpoint: POST /admin/flow-builder/buttons/:buttonId
Authentication: Admin (Required)
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
buttonId |
string | Yes | ButtonId identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder/buttons/:buttonId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
DELETE Admin Flow-builder Buttons :buttonId
Endpoint: DELETE /admin/flow-builder/buttons/:buttonId
Authentication: Admin (Required)
Description
// DELETE /admin/flow-builder/buttons/:buttonId - Delete button
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
buttonId |
string | Yes | ButtonId identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X DELETE 'https://your-store.omnicart.cc/admin/flow-builder/buttons/:buttonId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
POST Admin Flow-builder Urls :urlId
Endpoint: POST /admin/flow-builder/urls/:urlId
Authentication: Admin (Required)
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
urlId |
string | Yes | UrlId identifier |
Request Body
// Request body structure (to be documented)
Response
Success:
// Response structure (to be documented)
Example Request
curl -X POST 'https://your-store.omnicart.cc/admin/flow-builder/urls/:urlId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
DELETE Admin Flow-builder Urls :urlId
Endpoint: DELETE /admin/flow-builder/urls/:urlId
Authentication: Admin (Required)
Description
// DELETE /admin/flow-builder/urls/:urlId - Delete URL
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
urlId |
string | Yes | UrlId identifier |
Response
Success:
// Response structure (to be documented)
Example Request
curl -X DELETE 'https://your-store.omnicart.cc/admin/flow-builder/urls/:urlId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'