Skip to main content
GET
List Agents

Query Parameters

string
Filter by agent status. Available values: active, disabled
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: services
integer
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, status
string
default:"asc"
Sort direction. Available values: asc, desc

Basic Request

Advanced Filtering Examples

Filter by Status

Search by Name or Email

Include Services Data

Date Range Filter

Pagination and Sorting

Filter by Location

Filter by Service

Combined Location and Service Filter

Response

Services and locations assigned to each agent are always included in the response.