Skip to main content
GET
Get all tickets

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Sorgu Parametreleri

search
string | null

The search query.

Maximum string length: 255
per_page
integer | null

The number of items per page.

Gerekli aralık: 1 <= x <= 100
page
integer | null

The page number.

Gerekli aralık: x >= 1
sort_by
enum<string> | null

The field to sort by.

Mevcut seçenekler:
code,
status,
type,
created_at,
updated_at,
null
sort_order
enum<string> | null

The sort direction (asc or desc).

Mevcut seçenekler:
asc,
desc,
null
status
enum<string> | null

Filter by ticket status.

Mevcut seçenekler:
open,
processing,
resolved,
closed
type
enum<string> | null

Filter by ticket type.

Mevcut seçenekler:
general,
complaint,
side_effect,
request,
suggestion
customer_id
integer | null

Filter by customer id.

Gerekli aralık: x >= 1
lead_id
integer | null

Filter by a visible lead id.

Gerekli aralık: x >= 1
related_person_id
integer | null

Filter by related person (assigned user) id.

Gerekli aralık: x >= 1
created_at_from
string<date-time> | null

Filter records created at or after this date (inclusive, YYYY-MM-DD).

created_at_to
string<date-time> | null

Filter records created at or before this date (inclusive, YYYY-MM-DD).

Yanıt

Paginated set of TicketResource

data
TicketResource · object[]
gerekli
meta
object
gerekli