---
title: "Find workflow tasks based on filter parameters"
method: POST
path: "/api/v1/workflow/tasks"
tags: ["Workflow"]
---

# Find workflow tasks based on filter parameters

`POST /api/v1/workflow/tasks`

Retrieve the [workflow tasks](https://dev.dotcms.com/docs/workflow-tasks) that match the parameters included in the request body.

## Request body

- WorkflowSearcherForm
  - `keywords` string
  - `assignedTo` string
  - `daysOld` integer
  - `schemeId` string
  - `stepId` string
  - `open` boolean
  - `closed` boolean
  - `createdBy` string
  - `show4all` boolean
  - `orderBy` string
  - `count` integer
  - `page` integer

## Response `200`

Action(s) returned successfully

- ResponseEntityWorkflowTasksView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` WorkflowSearchResultsView
    - `totalCount` integer
    - `workflowTasks` WorkflowTaskView[]
      - `id` string
      - `assignedTo` string
      - `assignedUserName` string
      - `createdBy` string
      - `description` string
      - `belongsTo` string
      - `creationDate` string, date-time
      - `dueDate` string, date-time
      - `languageId` integer
      - `modDate` string, date-time
      - `title` string
      - `status` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad Request
- `401` — Invalid User
- `403` — Forbidden
- `406` — Not Acceptable
- `500` — Internal Server Error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
