Restore an archived task
Restore an archived task. Manager, Admin or Owner. Idempotent: an active task is returned unchanged with a warning. Plan: Studio or Agency (API access). Scope: write.
Authorization
BearerAuth Personal Access Token. Mint at Settings → API. Token shape: hsk_<env>_<prefix12>_<secret32>.
In: header
Path Parameters
Task UUID.
Header Parameters
Caller-generated UUID/ULID; replay returns the cached response within 24h.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/restore" \ -H "Idempotency-Key: string"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "orgId": "25b2c2d5-a7fc-47d0-89e4-8709a1560bfa", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "name": "string", "description": "string", "status": "TODO", "priority": "LOW", "billable": true, "estimatedHours": "string", "assigneeIds": [ "80f8de4f-e685-4a1d-91fc-c0bb26d5cfc0" ], "tags": [ "string" ], "startDate": "2019-08-24", "dueDate": "2019-08-24", "endDate": "2019-08-24", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" }, "warnings": [ "string" ]}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}Archive a task (soft delete)
Any role, with limits: Members may only create tasks assigned to themselves on accessible projects, and may only edit tasks they are assigned to. Archiving (DELETE) requires Manager+.
Get a task's checklist
Any role that can see the task (archived tasks included). Plan: Studio or Agency (API access). Scope: read.