Skip to content

Update Task ​

PUT /external/v1/tasks/:id

Updates 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 ​

ParameterTypeRequiredDescription
idstringYesTask 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.

FieldBehaviour
assignee_idsReplaces the current list. [] removes every assignee
label_idsReplaces the current list. [] removes every label
due_dateChanging it also re-arms the reminder
statusSame effect as Update Task Status: completing a recurring task creates the next occurrence
recurrenceAn object turns recurrence on or changes it; null turns it off
description, end_date, task_pipeline_id, size, estimate_hours, reminder_minutes_beforenull 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 ​

StatusCodeDescription
400VALIDATION_ERRORInvalid value, empty title, opportunity_id/contact_id sent, or a status change on a step of a cancelled playbook run
404NOT_FOUNDTask not found, or not visible to the key's creator

GetRaze - AI-Powered Lead Generation