Count the caller's open tasks (tenant:flows:tasks, a person)
GET /api/flows/v1/tasks/count
Module: Flows · operationId: countFlowTasks · Tag: Tasks · Auth: access token (Authorization: Bearer <accessToken>)
Responses
- 200 The count (
application/json) - 401 Missing, invalid or expired token (no body).
- 403 The token lacks the permission or has no active tenant (
forbidden). Also:person_required(a service-account key on personal flows or the task inbox),live_test_forbidden,forbidden_grant,starter_excluded. (application/json)
Fields of the 200 answer:
open(integer, required): Number of open tasks assigned to the caller
Example 200 answer:
{
"open": 3
}
Example request
curl -X GET 'https://api.mbcom.cloud/api/flows/v1/tasks/count' \
-H "Authorization: Bearer $ACCESS_TOKEN"