Returns a list of stages configured in the system. Each stage represents a step within a flow and contains metadata such as name, status, progress type, visual configuration (icon and color), and whether it is the starting stage.
curl --location --request GET 'https://api-develop.enspace.io/c-flow-stages?__relations=item_type,tasks,flow,user' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>'[
{
"id": 0,
"name": "string",
"status": "string",
"progress_type": "string",
"is_start": true,
"hex_color": "string",
"icon": "string",
"user": {
"id": 0,
"created_at": "string",
"email": "string",
"meta": {
"fname": "string",
"lname": "string"
}
},
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"item_type": {
"name": "string",
"slug": "string",
"description": "string",
"icon": "string",
"color": "string",
"settings": {
"property1": "string",
"property2": "string"
}
},
"flow": {
"id": 0,
"name": "string",
"status": "string",
"item_type": {
"name": "string",
"slug": "string",
"description": "string",
"icon": "string",
"color": "string",
"settings": {
"property1": "string",
"property2": "string"
}
},
"start_type": "always",
"icon": "string",
"user": {
"id": 0,
"created_at": "string",
"email": "string",
"meta": {
"fname": "string",
"lname": "string"
}
},
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
},
"tasks": [
{}
]
}
]