List Agents
Agents
List Agents
Retrieve a list of all agents with advanced filtering, pagination, and sorting options.
GET
List Agents
Query Parameters
string
Filter by agent status. Available values:
active, disabledstring
Search by first name, last name, or email address
string
Filter by exact email address
string
Filter by phone number (partial match supported)
integer
Filter agents by location ID (shows only agents available at this location)
integer
Filter agents by service ID (shows only agents who provide this service)
string
Filter agents created after this date (YYYY-MM-DD format)
string
Filter agents created before this date (YYYY-MM-DD format)
string
Include related data. Available values:
servicesinteger
default:"1"
Page number for pagination
integer
default:"10"
Number of results per page (1-100)
string
default:"first_name"
Sort field. Available values:
id, first_name, last_name, email, created_at, updated_at, statusstring
default:"asc"
Sort direction. Available values:
asc, desc