Skip to main content
POST
Create a task

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.

Body

application/json
title
string
required
Example:

"Implement OAuth login"

teamId
string
required

ID or reference prefix of the team that will own the task.

Example:

"team_01jqteam0001"

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

Markdown content.

Example:

"Support Google and GitHub as providers."

dueDate
string<date>
Example:

"2026-06-15"

projectId
string
Example:

"proj_01jqproj0001"

parentId
string

Make this a subtask of an existing task in the same team.

Example:

null

assigneeId
string
Example:

"user_01jquser0001"

Response

Task created.

task
object