Skip to main content
PATCH
/
tasks
/
{id}
Update a task
curl --request PATCH \
  --url https://slog.ai/tasks/{id} \
  --header 'Content-Type: application/json' \
  --header 'slog-api-key: <api-key>' \
  --data '
{
  "status": "IN_PROGRESS",
  "assigneeId": "user_01jquser0001"
}
'
{
  "task": {
    "id": "task_01jqabcd1111",
    "reference": "ENG-42",
    "title": "Implement OAuth login",
    "description": "Support Google and GitHub as providers.",
    "dueDate": "2026-06-15",
    "teamId": "team_01jqteam0001",
    "team": {
      "id": "team_01jqteam0001",
      "name": "Engineering",
      "prefix": "ENG"
    },
    "projectId": "proj_01jqproj0001",
    "parentId": null,
    "assigneeId": "user_01jquser0001",
    "assignee": {
      "id": "user_01jquser0001",
      "name": "Alex Johnson",
      "email": "[email protected]",
      "avatarUrl": null,
      "humanId": null
    },
    "labels": [
      {
        "id": "label_01jqlabel001",
        "name": "bug",
        "color": "#EF4444"
      }
    ],
    "createdAt": "2026-05-01T10:00:00.000Z",
    "updatedAt": "2026-05-10T14:30:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Body

application/json
title
string
Example:

"Implement OAuth login (Google + GitHub)"

status
enum<string>

Lifecycle status of a task.

Available options:
TODO,
IN_PROGRESS,
IN_REVIEW,
BLOCKED,
DONE,
CANCELLED
priority
enum<string>

Priority level of a task.

Available options:
LOW,
MEDIUM,
HIGH,
URGENT
description
string
Example:

"Updated description."

dueDate
string<date> | null
Example:

"2026-07-01"

projectId
string | null
Example:

"proj_01jqproj0001"

parentId
string | null
Example:

null

assigneeId
string | null
Example:

"user_01jquser0001"

Response

The updated task.

task
object