---
title: "POST /crm/tasks/search"
method: POST
path: "/crm/tasks/search"
tags: ["CrmTask"]
---

# POST /crm/tasks/search

`POST /crm/tasks/search`

Search for tasks

## Query parameters

- `fields` string, nullable
- `pageSize` string, nullable
- `cursor` string, nullable

## Request body

- object
  - `searchCriteria` unknown, required

## Response `200`

- CrmSearchTasksResponse
  - `status` 'ok' | 'error', required
  - `next` string, nullable
  - `previous` string, nullable
  - `results` CommonTask[], required
    - `id` string, required — The unique `id` of this object in Revert
    - `remoteId` string, required — The unique `id` of this object in the downstream CRM.
    - `createdTimestamp` unknown, required
    - `updatedTimestamp` unknown, required
    - `additional` unknown
    - `subject` string, required — Subject of the task.
    - `body` string, required — Body of the task description.
    - `priority` string, required — The priority of the task in hand. (not supported by pipedrive)
    - `status` string, required — Completion status of the task.
    - `dueDate` unknown, required

## Other responses

- `401`
- `404`
- `500`

## Changes

- **2024-04-25** `ed566117a702` — 4 info
  - added the new optional `query` request parameter `cursor`
  - added the new optional `query` request parameter `pageSize`
  - added the optional property `next` to the response with the `200` status
  - added the optional property `previous` to the response with the `200` status
- **2024-03-04** `52cc79f75cb0` — 4 warning
  - deleted the `query` request parameter `cursor`
  - deleted the `query` request parameter `pageSize`
  - removed the optional property `next` from the response with the `200` status
  - removed the optional property `previous` from the response with the `200` status

[Change history](https://skmtc.dev/revertinc/apis/revert-api/changes/crm/tasks/search/post.md)

---

[API](https://skmtc.dev/revertinc/apis/revert-api.md) · [All operations](https://skmtc.dev/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/698ea54a2330/schema)
