To-Dos

Update a To-Do

PATCH
/todos/{todo_id}

Change a To-Do: postpone it (due_at), finish it with a short result, cancel it or reopen it (status done, canceled or open), rename it, change its note, audience, visibility, assignee, area, repeat, remind_before or ref. Finishing or canceling a repeating To-Do creates the next one; reopening keeps it. Only the given fields change.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

todo_id*string

Resource identifier: todo_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/todos/123e4567-e89b-42d3-a456-426614174000" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "123e4567-e89b-42d3-a456-426614174000",  "space_id": "123e4567-e89b-42d3-a456-426614174000",  "title": "Approve supplier payment",  "note": "example",  "due_at": "2026-09-04T12:00:00Z",  "status": "open",  "visibility": "private",  "audience": "person",  "assignee": {    "id": "123e4567-e89b-42d3-a456-426614174000",    "name": "Customer documents"  },  "area": {    "id": "123e4567-e89b-42d3-a456-426614174000",    "name": "Customer documents",    "color": "cat-1"  },  "claim": {    "by": {      "id": "123e4567-e89b-42d3-a456-426614174000",      "name": "Customer documents"    },    "via": "example",    "at": "2026-09-04T12:00:00Z"  },  "result": "example",  "repeat": "none",  "remind_before": [],  "ref": {    "type": "document",    "id": "example",    "title": "Approve supplier payment",    "record_type_id": "123e4567-e89b-42d3-a456-426614174000"  },  "claude": {    "connection_id": "123e4567-e89b-42d3-a456-426614174000",    "dispatched_at": "2026-09-04T12:00:00Z",    "session_url": "example",    "error": "example"  },  "created_by": {    "id": "123e4567-e89b-42d3-a456-426614174000",    "name": "Customer documents"  },  "created_via": "example",  "done_at": "2026-09-04T12:00:00Z",  "created_at": "2026-09-04T12:00:00Z",  "updated_at": "2026-09-04T12:00:00Z"}