GET
/api/public/v1/ticketsList tickets
List tickets in a project, with optional filters.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | Required | Project to query. |
limit | number | Optional | Maximum number of items to return (1-100).Default: 20 |
offset | number | Optional | Number of items to skip before starting to collect the result set.Default: 0 |
sortBy | string | Optional | Field to sort by. Allowed values vary by endpoint.Default: createdAt |
sortOrder | string asc desc | Optional | Sort direction.Default: desc |
search | string | Optional | Free-text search across the resource’s primary fields. |
createdAfter | string | Optional | ISO 8601 timestamp — only return items created after this time. |
createdBefore | string | Optional | ISO 8601 timestamp — only return items created before this time. |
updatedAfter | string | Optional | ISO 8601 timestamp — only return items updated after this time. |
status | string BACKLOG TODO IN_PROGRESS IN_REVIEW COMPLETED | Optional | Filter by status. |
priority | string LOW MEDIUM HIGH URGENT | Optional | Filter by priority. |
type | string TASK BUG FEATURE EPIC | Optional | Filter by ticket type. |
assigneeId | string | Optional | Filter to a single assignee. |
sprintId | string | Optional | Filter 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
}
}
}