Skip to content

Create a work item ​

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

Create a new work item in the specified project with the provided details.

Path Parameters ​

project_id:requiredstring

Project ID

slug:requiredstring

Workspace slug

Body Parameters ​

assignees:optionalarray

Assignees.

labels:optionalarray

Labels.

type_id:optionalstring

Type id.

parent:optionalstring

Parent.

deleted_at:optionalstring

Deleted at.

point:optionalinteger

Point.

name:requiredstring

Name.

description_html:optionalstring

Description html.

description_stripped:optionalstring

Description stripped.

priority:optionalstring
  • urgent - Urgent
  • high - High
  • medium - Medium
  • low - Low
  • none - None
start_date:optionalstring

Start date.

target_date:optionalstring

Target date.

sequence_id:optionalinteger

Sequence id.

sort_order:optionalnumber

Sort order.

completed_at:optionalstring

Completed at.

archived_at:optionalstring

Archived at.

last_activity_at:optionalstring

Last activity at.

is_draft:optionalboolean

Is draft.

external_source:optionalstring

External source.

external_id:optionalstring

External id.

created_by:optionalstring

Created by.

state:optionalstring

State.

estimate_point:optionalstring

Estimate point.

type:optionalstring

Type.

Scopes ​

projects.work_items:write

Create a work item
bash
curl -X POST \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Example Name",
  "description": "Example description",
  "priority": "medium",
  "state": "550e8400-e29b-41d4-a716-446655440000",
  "assignees": [
    "550e8400-e29b-41d4-a716-446655440000"
  ],
  "labels": [
    "550e8400-e29b-41d4-a716-446655440000"
  ],
  "external_id": "550e8400-e29b-41d4-a716-446655440000",
  "external_source": "github"
}'
Response201
json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Example Name",
  "description": "Example description",
  "sequence_id": 1,
  "priority": "high",
  "assignees": ["550e8400-e29b-41d4-a716-446655440000"],
  "labels": ["550e8400-e29b-41d4-a716-446655440000"],
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}