Overview
POST
/project/projects/{id}/statusesprojectAdd a board column (+ a status.created activity)
Create a record in statuses.
Auth: bearerAuth — calls run as the authenticated user.
Parameters
- idpathstring
Request body
application/json · optional
- keystring
- labelstring
- category"todo" | "in_progress" | "done"
- positionoptionalinteger
explicit column order; defaults to append (max+1)
Example
{
"key": "string",
"label": "string",
"category": "todo",
"position": 0
}Responses
201
Created status
- idstring
- ecosystemIdstring
- projectIdstring
- keystring
stable identifier, unique within the project
- labelstring
- category"todo" | "in_progress" | "done"
- positioninteger
column order (ascending)
- createdAtstring
Example
{
"id": "string",
"ecosystemId": "string",
"projectId": "string",
"key": "string",
"label": "string",
"category": "todo",
"position": 0,
"createdAt": "string"
}400
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}404
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}409
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X POST "https://api.agenticdeveloperhub.com/project/projects/{id}/statuses" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"key": "string",
"label": "string",
"category": "todo",
"position": 0
}'JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/project/projects/{id}/statuses", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: "{\n \"key\": \"string\",\n \"label\": \"string\",\n \"category\": \"todo\",\n \"position\": 0\n}",
});
const data = await res.json();