Saltar al contingut principal
GET
Lists tickets

Autoritzacions

X-API-Key
string
header
requerit

Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.

Paràmetres de consulta

Cursor
string

Opaque pagination cursor from a previous page; omit for the first page.

PageSize
integer<int32>
predeterminat:50

Number of items per page, 1-200 (default 50). Out of range is rejected, not clamped.

SortBy
string
predeterminat:updatedOn

Sort field: updatedOn (default) or createdOn.

SortOrder
string
predeterminat:desc

Sort direction: asc or desc (default).

StatusIds
string

Comma-separated status ids to include. Omit for every status.

ClientIds
string

Comma-separated client ids to include. Omit for every client.

PriorityIds
string

Comma-separated priority ids on the public scale — None=0, Urgent=1, High=2, Normal=3, Low=4.

TypeIds
string

Comma-separated ticket type ids to include.

LeadAssigneeIds
string

Comma-separated lead assignee ids to include.

ContactIds
string

Comma-separated contact ids to include.

TagIds
string

Comma-separated tag ids; a ticket matches if it carries any of them.

GroupIds
string

Comma-separated group ids; a ticket matches if it is subscribed to any of them.

DeviceIds
string

Comma-separated agent ids (GUIDs, up to 100); a ticket matches if any of those agents is linked to it.

Query
string

Keyword matched against the ticket title, number and display number. Up to 200 characters.

UpdatedSince
string<date-time>

ISO-8601 timestamp; keeps only tickets updated at or after it.

UpdatedBefore
string<date-time>

ISO-8601 timestamp; keeps only tickets updated strictly before it.

CreatedSince
string<date-time>

ISO-8601 timestamp; keeps only tickets created at or after it.

CreatedBefore
string<date-time>

ISO-8601 timestamp; keeps only tickets created strictly before it.

Resposta

OK

StatusCode
enum<integer>
Opcions disponibles:
100,
101,
102,
103,
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308,
400,
401,
402,
403,
404,
405,
406,
407,
408,
409,
410,
411,
412,
413,
414,
415,
416,
417,
421,
422,
423,
424,
426,
428,
429,
431,
451,
500,
501,
502,
503,
504,
505,
506,
507,
508,
510,
511
IsSuccess
boolean
Data
object[] | null
DataContext
object

The DataContext of a cursor-paginated success response: carries the paging metadata for the returned page.

Notifications
object[]