POST
/api/public/v1/projectsCreate a project
Create a new project. The `key` is the short prefix used to label tickets (e.g. "API-123").
Request Body
| Property | Type | Description |
|---|---|---|
key | string | Uppercase short key (1-10 chars). |
name | string | Project name. |
description | string | Description. |
status | string | Initial status. |
POSTExample request
curl
curl -X POST "https://www.pxb.app/api/public/v1/projects" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"key": "API",
"name": "Public API",
"description": "Tracking work on the v1 public API."
}'200Example response
json
{
"message": "Project created successfully!",
"content": {
"project": {
"id": "proj_1"
}
}
}