Skip to main content
GET
Search clinic clients

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string | null

Searches for clients whose name matches this value. Automatically trimmed and lowercased. Requires name_operator when provided.

name_operator
enum<string> | null

The match mode to use for the name field.

Available options:
EXACT,
PREFIX,
CONTAINS
email
string | null

Searches for clients whose email matches this value. Automatically trimmed and lowercased. Requires email_operator when provided.

email_operator
enum<string> | null

The match mode to use for the email field.

Available options:
EXACT,
CONTAINS
phone_number
string | null

Searches for clients whose phone number matches this value. Non-numeric characters are automatically stripped. Requires phone_number_operator when provided.

phone_number_operator
enum<string> | null

The match mode to use for the phone_number field.

Available options:
EXACT,
SUFFIX
zip_code
string | null

Searches for clients whose zip code matches this value. Automatically trimmed and lowercased. Requires zip_code_operator when provided.

zip_code_operator
enum<string> | null

The match mode to use for the zip_code field.

Available options:
EXACT,
PREFIX,
CONTAINS
is_active
boolean | null

Filters to clients with the given active status.

page
integer
default:1

The page number to return.

Required range: x >= 1
page_size
integer
default:20

The number of results per page.

Required range: 1 <= x <= 100

Response

200 - application/json

OK

data
ExternalClinicClientSearchSchema · object[]
required

A single page of data contained within this list.

next_page
string
required

A URL linking to the next page of this list.

has_more
boolean
default:false

Whether there are more pages or data in this list.

type
string
default:list

Type of this object. Always list.