Skip to main content

Get flows

Retrieve all flows available per environment.

Use this endpoint to retrieve all flows available in your environment. The response provides essential metadata for each flow.

Endpoint

GET /api/v1/flows/{environment}

Path parameters

ParameterTypeRequiredDescription
environmentStringYesThe logical environments ( live or staging )

Query parameters

ParameterTypeRequiredDescription
pagenumberNoPage number (1-based, default: 1)
sizenumberNoNumber of items per page (default: 20, max: 100)

Request

No request body is required for this endpoint.

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token for authentication

Response

Returns an array of flow objects with minimal metadata.

Response parameters

ParameterTypeDescription
contentarrayArray of flow objects
content[].idstringUnique identifier for the flow
content[].namestringConfigurable display name of the flow
content[].descriptionstringConfigurable description of the flow's purpose
content[].versionnumberActive flow version (optional, may be absent if no active deployment)
pageobjectPagination metadata
page.sizenumberNumber of items per page
page.numbernumberCurrent page number (1-based)
page.totalElementsnumberTotal number of flows across all pages
page.totalPagesnumberTotal number of pages
{
"content": [
{
"id": "0197c55f-5af6-7e3d-af9b-f2359b104be8",
"name": "Document-based IDV - Capture",
"description": "Verifies identity by capturing and checking official ID documents",
"version": 1
},
{
"id": "0197c55f-5af6-7e6g-af9b-f2359b104be8",
"name": "Biometric authentication",
"description": "Identity verification using unique body features instead of passwords",
"version": 2
}
],
"page": {
"size": 20,
"number": 1,
"totalElements": 25,
"totalPages": 2
}
}

Example

curl https://localhost:3000/api/v1/flows/live \
-H "Authorization: Bearer YOUR_API_KEY"

Notes

  • Results are paginated. Use page and size query parameters to navigate through results