List Customers
Customers
List Customers
Get a list of all registered customers
GET
List Customers
Description
This endpoint returns a paginated list of all customers registered in the system. You can filter, search and sort the results according to your needs.Authentication
string
required
Your LatePoint API Key with read permissions
Query Parameters
Pagination
integer
default:"1"
Page number to retrieve
integer
default:"20"
Number of customers per page (maximum 100)
Filters
string
Filter by customer statusPossible values:
active- Active customersinactive- Inactive customersblocked- Blocked customers
string
Show only customers created after this date (format: YYYY-MM-DD)
string
Show only customers created before this date (format: YYYY-MM-DD)
boolean
Filter customers who have or don’t have bookings
true- Only customers with bookingsfalse- Only customers without bookings
Dynamic Field Filters
string
Filter by customer’s first name (partial match)
string
Filter by customer’s last name (partial match)
string
Filter by customer’s email address (partial match)
string
Filter by customer’s phone number (partial match)
boolean
Filter by guest status
true- Only guest customersfalse- Only registered customers
integer
Filter by WordPress user ID (exact match)
string
Filter by creation date (partial match, format: YYYY-MM-DD)
string
Filter by last update date (partial match, format: YYYY-MM-DD)
Search
string
Search customers by first name, last name, or email (partial match)
Response
Successful Response (200 OK)
boolean
Always
true on successarray
Array of customer objects
object
Pagination information
Examples
List All Customers
Search Customers with Dynamic Filters
Filter by Phone and Guest Status
Filter by Creation Date
Paginate Through All Customers
JavaScript
Example Response
Error Responses
Error 401 - Unauthorized
Common Use Cases
Filter by Name and Status
Search by Email Domain
Customers Created This Year
Stats and custom fields are always included in every customer in the response — you do not need to pass any
include parameter.Sorting: Results are always returned sorted by
created_at DESC. Sorting is not configurable on this endpoint.