Create an intake work item ​
POST/api/v1/workspaces/{slug}/projects/{project_id}/intake-issues/
Submit a new work item to the project's intake queue for review and triage. Automatically creates the work item with default triage state and tracks activity.
Path Parameters ​
project_id:requiredstringProject ID
slug:requiredstringWorkspace slug
Body Parameters ​
issue:requiredobjectIssue data for the intake issue
Scopes ​
projects.intakes:write
Create an intake work item
bash
curl -X POST \
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/intake-issues/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"issue": {
"name": "Example Name",
"description": "Example description",
"priority": "medium"
}
}'python
import requests
response = requests.post(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/intake-issues/",
headers={"X-API-Key": "your-api-key"},
json={
"issue": {
"name": "Example Name",
"description": "Example description",
"priority": "medium"
}
}
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/intake-issues/",
{
method: "POST",
headers: {
"X-API-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
issue: {
name: "Example Name",
description: "Example description",
priority: "medium",
},
}),
}
);
const data = await response.json();Response201
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": 0,
"source": "in_app",
"issue": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Example Name",
"description": "Example description",
"priority": "medium",
"sequence_id": 124
},
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
