Tasks API: Update due date
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/tasks/update_due_date |
| Handler | OperatelyWeb.Api.Tasks.UpdateDueDate |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
task_id | id primitive (encoded as string) | Yes | No | - |
due_date | contextual_date object | Yes | Yes | - |
type | task_type enum (space, project) | Yes | No | - |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
task | task object | Yes | No |
cURL Example#
Section titled “cURL Example#”Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/tasks/update_due_date" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"due_date":{"__typename":"value", "date":"2026-01-01", "date_type":"day", "value":"value"}, "task_id":"value", "type":"space"}'Response Example#
Section titled “Response Example#”{ "task": { "__typename": "value", "assignees": [ "<person>" ], "available_statuses": [ "<task_status>" ], "closed_at": "2026-01-01T09:30:00Z", "comments_count": 123, "creator": "<person>", "description": "value", "due_date": "<contextual_date>", "id": "value", "inserted_at": "2026-01-01", "milestone": "<milestone>", "name": "value", "permissions": "<project_permissions>", "priority": "value", "project": "<project>", "project_space": "<space>", "reminders": [ "<task_reminder>" ], "size": "value", "space": "<space>", "status": "<task_status>", "subscription_list": "<subscription_list>", "type": "space", "updated_at": "2026-01-01", "url": "value" }}