---
title: "Create a task for an issue"
method: POST
path: "/issues/{issueId}/tasks/create"
tags: ["Issues"]
---

# Create a task for an issue

`POST /issues/{issueId}/tasks/create`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/issues/{issueId}/tasks/create`
- Auth: none declared

File a task for the issue in the Linear team the project files into and link it to the issue. The task carries the issue's brief for a coding agent and links back to the issue. An issue that already has a task gets that task back.

## Path parameters

- `issueId` string, uuid, required: Issue to create the task for.

## Response `200`

OK

- object
  - `taskLink` object, required
    - `provider` 'linear' | 'jira' | 'github', required
    - `identifier` string, required
    - `url` string, uri, required
  - `created` boolean, required: False when the issue already had a task, which is returned instead.

## Changes

- **2026-11-11** `a449c02de59e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/issues/:issueId/tasks/create/post.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/87089d7ea293?raw)
