GET
/api/public/v1/tickets

List tickets

List tickets in a project, with optional filters.

Query Parameters

NameTypeRequiredDescription
projectIdstring
Required
Project to query.
limitnumberOptionalMaximum number of items to return (1-100).Default: 20
offsetnumberOptionalNumber of items to skip before starting to collect the result set.Default: 0
sortBystringOptionalField to sort by. Allowed values vary by endpoint.Default: createdAt
sortOrderstring
asc
desc
OptionalSort direction.Default: desc
searchstringOptionalFree-text search across the resource’s primary fields.
createdAfterstringOptionalISO 8601 timestamp — only return items created after this time.
createdBeforestringOptionalISO 8601 timestamp — only return items created before this time.
updatedAfterstringOptionalISO 8601 timestamp — only return items updated after this time.
statusstring
BACKLOG
TODO
IN_PROGRESS
IN_REVIEW
COMPLETED
OptionalFilter by status.
prioritystring
LOW
MEDIUM
HIGH
URGENT
OptionalFilter by priority.
typestring
TASK
BUG
FEATURE
EPIC
OptionalFilter by ticket type.
assigneeIdstringOptionalFilter to a single assignee.
sprintIdstringOptionalFilter to a single sprint.
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/tickets" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Tickets retrieved successfully!",
  "content": {
    "tickets": [
      {
        "id": "tkt_1",
        "number": 1,
        "title": "Wire up auth",
        "status": "IN_PROGRESS",
        "priority": "HIGH"
      }
    ],
    "pagination": {
      "total": 42,
      "limit": 20,
      "offset": 0,
      "hasMore": true
    }
  }
}