Update Task
PUT/external/v1/tasks/:idUpdates a task. Only the fields you send change.
Authentication
Requires tasks:write permission. The task must be visible to the user who created the API key.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Task identifier (UUID) |
Request Body
Any field of Create Task except opportunity_id and contact_id: what a task is about cannot change after it is created.
| Field | Behaviour |
|---|---|
assignee_ids | Replaces the current list. [] removes every assignee |
label_ids | Replaces the current list. [] removes every label |
due_date | Changing it also re-arms the reminder |
status | Same effect as Update Task Status: completing a recurring task creates the next occurrence |
recurrence | An object turns recurrence on or changes it; null turns it off |
description, end_date, task_pipeline_id, size, estimate_hours, reminder_minutes_before | null clears the value |
Request
bash
curl --request PUT \
--url "https://app.getraze.com/external/v1/tasks/7b1e4c52-9a0d-4f1e-8c35-2d6f0a9b3e11" \
--header "Content-Type: application/json" \
--header "X-API-Key: YOUR_API_KEY" \
--data '{
"due_date": "2026-10-22T10:00:00-03:00",
"priority": "urgent"
}'javascript
const axios = require('axios');
const taskId = '7b1e4c52-9a0d-4f1e-8c35-2d6f0a9b3e11';
const response = await axios.put(
`https://app.getraze.com/external/v1/tasks/${taskId}`,
{ due_date: '2026-10-22T10:00:00-03:00', priority: 'urgent' },
{ headers: { 'X-API-Key': 'YOUR_API_KEY' } }
);
console.log(response.data);python
import requests
task_id = '7b1e4c52-9a0d-4f1e-8c35-2d6f0a9b3e11'
response = requests.put(
f'https://app.getraze.com/external/v1/tasks/{task_id}',
headers={'X-API-Key': 'YOUR_API_KEY'},
json={'due_date': '2026-10-22T10:00:00-03:00', 'priority': 'urgent'}
)
print(response.json())Response
The updated task, in the format of Get Task.
Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid value, empty title, opportunity_id/contact_id sent, or a status change on a step of a cancelled playbook run |
| 404 | NOT_FOUND | Task not found, or not visible to the key's creator |