---
title: "Update a task"
method: PATCH
path: "/tasks/{id}"
tags: ["Tasks"]
---

# Update a task

`PATCH /tasks/{id}`

## Request

- Base URL: `https://mobcrm.au/api/v1`
- URL: `https://mobcrm.au/api/v1/tasks/{id}`
- Auth: HTTP bearer

## Request body

- Task
  - `contact_id` string
  - `title` string, required
  - `description` string
  - `due_date` string
  - `priority` 'low' | 'medium' | 'high'
  - `status` 'pending' | 'in_progress' | 'completed'

## Response `200`

Updated task.

- object
  - `data` Task, required
    - `contact_id` string
    - `title` string, required
    - `description` string
    - `due_date` string
    - `priority` 'low' | 'medium' | 'high'
    - `status` 'pending' | 'in_progress' | 'completed'

## Other responses

- `401`: Missing, malformed, or invalid bearer token.
- `403`: Token lacks the required scope or plan entitlement.
- `404`: The requested resource does not exist.
- `422`: Request body or query failed validation.
- `429`: Rate limit exceeded; see the Retry-After header.

---

[API](https://skmtc.dev/mobcrm/apis/mob-crm-public-api.md) · [All operations](https://skmtc.dev/mobcrm/apis/mob-crm-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mobcrm/apis/mob-crm-public-api/revisions/697e8afba2a5?raw)
