List tickets
supportbee_list_ticketsRead-only
List tickets of the shared inbox, newest activity first, with filters (assignee, team, label, requester, dates, spam/trash/archived). By default archived, spam and trashed tickets are left out. Each ticket has id, subject, labels, requester, assignee, replies_count, comments_count, unanswered, archived and the first message text (cut). With total_only=true only the number of matching tickets comes back. GET /tickets.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default 1). Use next_page from the previous reply. | |
| spam | No | Include tickets marked as spam (default false). | |
| label | No | Only tickets with this label name (supportbee_list_labels). | |
| since | No | Only tickets with last activity after this time (date, ISO date-time or Unix timestamp). | |
| trash | No | Include trashed tickets (default false). | |
| until | No | Only tickets with last activity before this time (date, ISO date-time or Unix timestamp). | |
| sort_by | No | Sort order (default last_activity). | |
| archived | No | true = only archived tickets, false = no archived tickets (default), any = both. | |
| per_page | No | Tickets per page, 1-99 (default 15). | |
| total_only | No | Return only the total number of matching tickets. | |
| has_replies | No | true = only tickets that have replies, false = only tickets without replies. | |
| max_replies | No | Only tickets with this number of replies (not with has_replies=false). | |
| assigned_team | No | mine = assigned to the user's teams, a team id (from supportbee_list_teams), none = no team. | |
| assigned_user | No | me = assigned to the token's user, an agent id (from supportbee_list_users), any = assigned to someone, none = unassigned. | |
| requester_emails | No | Only tickets from these requester e-mail addresses (max 10). |