POST
/api/public/v1/sprints

Create a sprint

Create a new sprint within a project.

Request Body

PropertyTypeDescription
projectIdstringOwning project.
namestringSprint name.
goalstringSprint goal.
statusstringInitial status.
startDatestringISO 8601 start date.
endDatestringISO 8601 end date.
POSTExample request
curl
curl -X POST "https://www.pxb.app/api/public/v1/sprints" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "projectId": "proj_1",
    "name": "Sprint 1",
    "startDate": "2026-06-01",
    "endDate": "2026-06-14"
  }'
200Example response
json
{
  "message": "Sprint created successfully!",
  "content": {
    "sprint": {
      "id": "spr_1"
    }
  }
}