Skip to main content
GET
/
stores
/
{storeId}
/
tickets
Get tickets
curl --request GET \
  --url https://api.komerza.com/stores/{storeId}/tickets \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "pages": 123,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "dateCreated": "2023-11-07T05:31:56Z",
      "subject": "<string>",
      "emailAddress": "<string>",
      "status": 0,
      "storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "messageCount": 123,
      "lastMessage": "<string>"
    }
  ]
}

Filterable Fields

This endpoint supports filtering and sorting. See the Filtering & Sorting Guide for syntax details.
FieldTypeDescription
subjectstringSearch ticket subject (case-insensitive contains)
statusintegerFilter by ticket status. See Ticket Status
customerEmailstringFilter by customer email (case-insensitive contains)
dateFromdatetimeFilter tickets created on or after this date
dateTodatetimeFilter tickets created on or before this date
Example:
# Open tickets from last 7 days
GET /api/stores/{storeId}/tickets?filters=status==0,dateFrom>=2025-11-20

# Tickets by customer email
GET /api/stores/{storeId}/tickets?filters=customerEmail@=*[email protected]

Authorizations

Authorization
string
header
required

Your API key goes here

Path Parameters

storeId
string<uuid>
required

The ID of the store to get the tickets in

Query Parameters

subject
string

Text search on the ticket subject (case‐insensitive contains).

status
enum<integer>

Filter by ticket status (exact match on the enum name or numeric value). The different states of the ticket

Available options:
0,
1,
2,
3,
4
customerEmail
string

Filter by the customer’s email (case‐insensitive contains).

dateFrom
string<date-time>

Date created ≥ this value.

dateTo
string<date-time>

Date created ≤ this value.

Filters
string
Sorts
string
Page
integer<int32>
Required range: 1 <= x <= 2147483647
PageSize
integer<int32>
Required range: 1 <= x <= 2147483647

Response

The object was successfully returned.

Represents a paginated response returned from API endpoints, which contains the paginated data and metadata about the pagination.

success
boolean
required

Indicates whether the operation was successful

pages
integer<int32>
required

The total number of pages available in the paginated response.

data
object[]
required

Represents the collection of items within a paginated response