Skip to main content
GET
Get all customer forms

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

Search by patient (name, phone, email or identity number, accent-insensitive) or form template name.

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:
id,
status,
completed_at,
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 status.

Mevcut seçenekler:
pending,
completed,
reviewed
template_id
integer | null

Filter by template ID.

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

Filter by whether the form was filled by the AI assistant.

Mevcut seçenekler:
0,
1,
true,
false,
null
created_at_from
string<date-time> | null

Filter records created on or after this date.

created_at_to
string<date-time> | null

Filter records created on or before this date.

completed_at_from
string<date-time> | null

Filter records completed on or after this date.

completed_at_to
string<date-time> | null

Filter records completed on or before this date.

Yanıt

Paginated set of CustomerFormResource

data
CustomerFormResource · object[]
gerekli
meta
object
gerekli