curl --request GET \
--url https://api.shoppex.io/dev/v1/tickets \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"uniqid": "<string>",
"shop_id": "<string>",
"customer_email": "<string>",
"invoice_id": "<string>",
"invoice_uniqid": "<string>",
"subject": "<string>",
"status": "OPEN",
"priority": "LOW",
"message_count": 123,
"last_message_at": 123,
"closed_at": 123,
"created_at": 123,
"updated_at": 123
}
],
"pagination": {
"next_cursor": "<string>",
"has_more": true
}
}Returns a list of tickets (queries) for the shop with cursor pagination
curl --request GET \
--url https://api.shoppex.io/dev/v1/tickets \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"uniqid": "<string>",
"shop_id": "<string>",
"customer_email": "<string>",
"invoice_id": "<string>",
"invoice_uniqid": "<string>",
"subject": "<string>",
"status": "OPEN",
"priority": "LOW",
"message_count": 123,
"last_message_at": 123,
"closed_at": 123,
"created_at": 123,
"updated_at": 123
}
],
"pagination": {
"next_cursor": "<string>",
"has_more": true
}
}Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...
Pagination cursor
Number of items to return (default: 50, max: 100)
1 <= x <= 100Filter by ticket status
PENDING, OPEN, AWAITING_REPLY, RESOLVED, CLOSED