API reference
Flows API
A flow defines the checks of a verification. You build and publish flows in the panel; the API lists the published ones.
Use the code of a flow as flowCode when you create a verification session.
The flow object
A published flow of your company.
Attributes
codestringUnique code. Send it as
flowCode.titlestringName of the flow in the panel.
descriptionstringnullableDescription of the flow.
logostringnullableLogo URL, if the flow has one.
statusenumAlways
publishhere: the API lists only published flows.Values
publishmodeenumsimplelist oradvancedgraph. See Flows.Values
simpleadvancedstepsCountintegerNumber of steps in the flow.
publishAtdatetimeWhen the flow was published.
createdAtdatetimeWhen the flow was created.
updatedAtdatetimeWhen the flow was last changed.
{
"code": "01JD7YQK2D1C4M2V7R9T3B6N8P",
"title": "Retail onboarding",
"description": "Shahkar, civil registry and selfie against the registry photo",
"logo": null,
"createdAt": "2026-11-20T08:12:44.000Z",
"updatedAt": "2026-11-28T10:03:19.000Z",
"publishAt": "2026-11-28T10:03:19.000Z",
"status": "publish",
"mode": "advanced",
"stepsCount": 3
}List published flows
GET/v1/flows
Returns the published flows of your company, the ones you can start sessions for.
Query parameters
pageintegerPage number, from
1.Default
1pageSizeintegerRows per page.
Values
102050Default10sortstringSort field; prefix
-for descending, such as-createdAt.qstringSearch text for flow titles.
Returns
A paginated list of flow objects.
curl "https://api.myid.ir/v1/flows?pageSize=20" \
-H "Authorization: Bearer $MYID_API_KEY"{
"response": {
"status": "success"
},
"data": {
"list": [
{
"code": "01JD7YQK2D1C4M2V7R9T3B6N8P",
"title": "Retail onboarding",
"description": "Shahkar, civil registry and selfie against the registry photo",
"logo": null,
"createdAt": "2026-11-20T08:12:44.000Z",
"updatedAt": "2026-11-28T10:03:19.000Z",
"publishAt": "2026-11-28T10:03:19.000Z",
"status": "publish",
"mode": "advanced",
"stepsCount": 3
}
],
"count": 1,
"page": 1,
"pageSize": 20,
"pageCount": 1
}
}