Endpoint Details
GET
/api/v0/customers
Rate Limiting: Subject to standard API rate limits
Authentication
All requests require API key authentication using the following headers:x-client-key
: Your application’s client keyx-client-secret
: Your application’s client secret
Query Parameters
Pagination Parameters
Number of records to skip (must be non-negative)
Default:
Example:
Default:
0
Example:
20
Number of records to take (must be positive)
Default:
Range: 1-100
Example:
Default:
10
Range: 1-100
Example:
50
Filter Parameters
Filter by customer status
Values:
Example:
Values:
"ACTIVE"
, "BLACKLISTED"
, "DEACTIVATED"
Example:
"ACTIVE"
Filter by customer name (partial match, case-insensitive)
Example:
Example:
"John"
Filter by customer email (exact match, case-insensitive)
Example:
Example:
"john.doe@example.com"
Request Examples
Response Format
Success Response (200 OK)
Response Fields
Array of customer objects matching the filter criteria
Total number of customers matching the filter criteria
Number of records skipped (pagination offset)
Number of records returned in this response
Customer Object Fields
Unique customer identifier (UUID)
Customer’s first name
Customer’s last name
Customer’s email address
Customer’s phone number with country code
Type of customer account (Individual, Startup, Small Business, etc.)
Current customer status (ACTIVE, BLACKLISTED, DEACTIVATED)
Amount of customer’s last transaction
Date of customer’s last purchase (ISO 8601 format)
Associated application identifier
Customer account creation timestamp (ISO 8601)
Last update timestamp (ISO 8601)
Error Responses
Use Cases
1. Customer Management Dashboards
Build comprehensive dashboards with filtering, search, and pagination for customer service teams.2. Customer Search Functionality
Implement search features allowing users to find customers by name or email quickly.3. Bulk Operations
Retrieve customer lists for bulk operations like sending newsletters or updating records.4. Analytics and Reporting
Generate customer reports with specific filters for business intelligence purposes.5. Integration Synchronization
Sync customer data with external CRM systems or marketing platforms.Advanced Integration Patterns
Best Practices
1. Pagination Strategy
Always use pagination for large customer lists to maintain performance and avoid timeouts.2. Efficient Filtering
Use specific filters to reduce response size and improve query performance.3. Caching Implementation
Cache frequently accessed customer lists with appropriate TTL to reduce API calls.4. Search Optimization
Implement client-side debouncing for search queries to minimize API requests.5. Error Handling
Handle rate limits and network errors gracefully with exponential backoff retry logic.6. Data Export
For bulk operations, use the pagination system to fetch all data rather than single large requests.Related Endpoints
- Create Customer - Create new customer records
- Fetch Customer - Get specific customer details
- Update Customer - Update customer information
- Blacklist Customer - Blacklist customer access
- Delete Customer - Remove customer records
Support
For technical support or questions about listing customers:- Verify your API credentials are correctly configured
- Check pagination parameters are within allowed ranges
- Ensure filter values match expected formats
- Contact support for assistance with complex filtering requirements
For more information, see: