How to fetch your list of flows using Flowbox's API
Prerequisites
Before you start, ensure you have the following:
- API key: Your unique API authentication key. If you don't have it yet, please contact your CSM and they'll provide it to you.
API Endpoint
To retrieve the list of flows in your Flowbox account, you need to send a GET request to the following endpoint:
https://external-api.getflowbox.com/v2/flowsYou can find more information and make test calls in our Swaggerhub page.
Required Parameters
Parameter | Type | Location | Description |
|---|---|---|---|
| string | header | Your API authentication key. Must be included in every request. |
Optional Parameters
Parameter | Type | Location | Description |
|---|---|---|---|
| string | query | Comma-separated list of additional fields to include in each flow object. Accepted values: |
Example API Request
Here is an example request with both required and optional parameters:
curl -X 'GET' \
'https://external-api.getflowbox.com/v2/flows?fields=embedVersion,isMasterFlow' \
-H 'accept: application/json' \
-H 'api-key: INSERT_API_KEY_HERE'Response:
The response will be a JSON containing the flow information retrieved based on the parameters you provided.
JSON returned:
Root:
Field | Type | Description |
|---|---|---|
| string | Request status. One of: |
| array | List of Flow objects. See Flow object table below. |
Flow (object):
Field | Type | Description |
| string | Key of the Flow. |
| string | Name of the Flow. |
| string | Type of the Flow, One of: |
| string | Version of the Flow published: |
| boolean | Whether or not the Flow has been deleted. Will only be present if |
| boolean | Whether or not the Flow is a collection flow. Will only be present if |