Skip to content

Create a work item ​

POST/api/v1/workspaces/{workspace_slug}/projects/{project_id}/work-items/

Creates a new work item in a project.

Path Parameters ​

workspace_slug:requiredstring

The workspace_slug represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL https://app.plane.so/my-team/projects/, the workspace slug is my-team.

project_id:requiredstring

The unique identifier of the project.

Body Parameters ​

name:requiredstring

Name of the work item.

description_html:optionalstring

HTML-formatted description of the work item.

state:optionalstring

ID of the state for the work item.

assignees:optionalstring[]

Array of user IDs to assign to the work item.

priority:optionalstring

Priority level. Possible values: none, urgent, high, medium, low.

labels:optionalstring[]

Array of label IDs to apply to the work item.

parent:optionalstring

ID of the parent work item.

estimate_point:optionalstring

Estimate points for the work item (0-7).

type:optionalstring

ID of the work item type.

module:optionalstring

ID of the module the work item belongs to.

start_date:optionalstring

Start date in YYYY-MM-DD format.

target_date:optionalstring

Target completion date in YYYY-MM-DD format.

Create a work item
bash
curl -X POST \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/project-uuid/work-items/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "example-name",
  "description_html": "example-description_html",
  "state": "example-state",
  "assignees": "example-assignees",
  "priority": "example-priority",
  "labels": "example-labels",
  "parent": "example-parent",
  "estimate_point": "example-estimate_point",
  "type": "example-type",
  "module": "example-module",
  "start_date": "example-start_date",
  "target_date": "example-target_date"
}'
Response201
json
{
  "id": "project-uuid",
  "name": "Project Name",
  "identifier": "PROJ",
  "description": "Project description",
  "created_at": "2024-01-01T00:00:00Z"
}