Tickets

Count tickets

Count how many tickets match your filters before loading the full list.

GET/v2026-04/tickets/count/

Usage

Start from this cURL example and add filters as needed.

cURL
curl -X GET https://core.appliedlabs.ai/v2026-04/tickets/count/ \
  -H "Authorization: Bearer <api-token>" \
  -H "X-Shop-Id: 66e4c4d2-34e8-4f85-8f51-84b6ed7b5f10"

Authorizations

Authorizationstringheaderrequired

Send your Applied API key as Authorization: Bearer AL.... Create the key in the Applied dashboard and keep it on your server.

Query parameters

agent_idstring · uuid

Only return tickets assigned to this agent.

assignee_idstring · uuid

Only return tickets assigned to this teammate.

conversation_idstring · uuid

Only return tickets linked to this conversation.

conversation_id__inarray

Only return tickets linked to these conversations. Separate values with commas.

created_at__rangestring

Only return records created during this time window. Use 'relative:-7d,' for the last 7 days, or '2026-04-01T00:00:00Z,2026-04-07T23:59:59Z' for a custom start and end time. The maximum window is 30 days.

idstring · uuid

Only return this ticket.

label_idstring · uuid

Only return tickets with this label.

priorityinteger

Only return tickets with this priority number.

priority__inarray

Only return tickets with these priority numbers. Separate values with commas.

Header parameters

X-Shop-Idstring · uuidrequired

The shop whose data you want to read.

Response

How many tickets matched your filters.

countintegerrequired

How many records matched your request.

{
  "count": 17
}