List flows.
List flows
GET
/admin/v1/flowsquery parameters
Returns
curl https://api.userhub.com/admin/v1/flows \
-H "Authorization: Bearer $USERHUB_ADMIN_KEY"
const res = await adminApi.flows.list();
res, err := adminApi.Flows().List(
context.Background(),
nil,
)
$res = $adminApi->flows->list();
res = admin_api.flows.list()
Response bodyJSON
{
"flows": [
{
"id": "flow_2VSCZXUfZVeRY3",
"state": "START_PENDING",
"type": "SIGNUP",
"expireTime": "2025-05-15T13:00:00Z",
"signup": {
"email": "[email protected]"
},
"view": "BASIC",
"createTime": "2025-05-15T13:00:00Z",
"updateTime": "2025-05-15T13:00:00Z"
},
{
"id": "flow_3on5rHNG5aMGao",
"state": "START_PENDING",
"type": "JOIN_ORGANIZATION",
"expireTime": "2025-05-15T13:00:00Z",
"joinOrganization": {},
"view": "BASIC",
"createTime": "2025-05-15T13:00:00Z",
"updateTime": "2025-05-15T13:00:00Z"
}
]
}