Skip to main content
PUT
/
api
/
tasks
/
{taskId}
Update a task
curl --request PUT \
  --url https://core-api.getaptly.com/api/tasks/{taskId} \
  --header 'Content-Type: application/json' \
  --header 'x-token: <api-key>' \
  --data '
{
  "title": "Renamed task",
  "checked": true,
  "status": "completed",
  "priority": "high"
}
'
{
  "ok": true
}

Authorizations

x-token
string
header
required

Path Parameters

taskId
string
required

Body

application/json
userId
string

Acting user the update is attributed to. Required with API-key auth (must belong to the company); ignored with a delegate token, which supplies the user itself.

title
string
description
string
checked
boolean
dueAt
string<date-time>
status
string

One of backlog|notStarted|inProgress|onHold|completed.

priority
string

One of asap|high|medium|low.

assigneeId
string
archived
boolean
archivedAt
string<date-time>
startedAt
string<date-time>
checkedAt
string<date-time>
pinned
boolean
rank
number
attachmentIds
string[]
outcomeType
string
aptletInstanceId
string
fieldId
string

Response

Task updated.

ok
boolean