Retrieves a list of customers with optional filtering and pagination.
This endpoint allows you to search and filter customers based on various criteria.
skip
: Number of records to skip (default: 0, min: 0)take
: Number of records to take (default: 10, min: 1, max: 100)status
: Filter by customer status (ACTIVE, BLACKLISTED, DEACTIVATED)name
: Filter by customer name (partial match, case-insensitive)email
: Filter by customer email (exact match, case-insensitive)GET /api/v0/customers?skip=0&take=20&status=ACTIVE&name=John
{
"data": [
{
"id": "cust_123456",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone_number": "+1-555-123-4567",
"customer_type": "Startup",
"status": "ACTIVE",
"created_at": "2024-03-20T10:00:00Z",
"updated_at": "2024-03-20T10:00:00Z"
}
],
"total": 100,
"skip": 0,
"take": 10
}
Your secret API key. Keep this secure and never expose it in client-side code.
Number of records to skip for pagination
x >= 0
0
Number of records to return (max 100)
1 <= x <= 100
10
Filter customers by status
ACTIVE
, BLACKLISTED
, DEACTIVATED
, DELETED
Filter customers by name (partial match, case-insensitive)
100
"John"
Filter customers by email (exact match, case-insensitive)
255
"john.doe@example.com"
Successfully retrieved customers