POST
/api/public/v1/projects

Create a project

Create a new project. The `key` is the short prefix used to label tickets (e.g. "API-123").

Request Body

PropertyTypeDescription
keystringUppercase short key (1-10 chars).
namestringProject name.
descriptionstringDescription.
statusstringInitial 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"
    }
  }
}