Skip to main content
PATCH
/
v1
/
tasks
/
{task_id}
Update a Task
curl --request PATCH \
  --url https://api.example.com/v1/tasks/{task_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Send follow-up proposal",
  "description": "Send the updated pricing proposal to the procurement team",
  "status": "DONE",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assignee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "due_at": "2025-07-01T17:00:00Z",
  "message_draft": {
    "recipients": [
      {
        "name": "<string>",
        "email": "<string>"
      }
    ],
    "subject": "<string>",
    "body": "<string>",
    "cc": [
      {
        "name": "<string>",
        "email": "<string>"
      }
    ],
    "sent_at": "<string>"
  }
}
'
{
  "data": {
    "id": "tsk_abc123",
    "account_id": "acc_def456",
    "title": "Send follow-up proposal",
    "description": "Send the updated pricing proposal to the procurement team",
    "task_type": "General Action Item",
    "assignee": {
      "id": "usr_abc123",
      "first_name": "Jane",
      "last_name": "Smith"
    },
    "status": "Done",
    "due_at": "2025-07-01T17:00:00Z",
    "completed_at": "2025-06-28T11:00:00Z",
    "created_at": "2025-06-15T10:30:00Z",
    "updated_at": "2025-06-28T11:00:00Z"
  },
  "meta": {
    "timestamp": "2026-04-21T12:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.monaco.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

task_id
string<uuid>
required

Body

application/json

Request body for updating a task via PATCH.

title
string | null

Title of the task

Example:

"Send follow-up proposal"

description
string | null

Detailed description of the task

Example:

"Send the updated pricing proposal to the procurement team"

status
string | null

Current status of the task. One of TODO, DONE, CANCELLED.

Example:

"DONE"

account_id
string<uuid> | null

ID of the account to associate the task with. Only supported for manually created tasks.

assignee_id
string<uuid> | null

User ID to assign the task to

due_at
string<date-time> | null

Due date and time for the task

Example:

"2025-07-01T17:00:00Z"

message_draft
MessageDraft · object

Draft message contents. Only valid when the task's task_type is EMAIL. Replaces the existing draft when provided.

Response

Successful Response

data
TaskResponse · object
required
meta
ResponseMeta · object