Get all customers
Retrieve all customers
HTTP request
GET /v1/customers
Query parameters
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of customers to retrieve (default: 20, max: 100) |
offset | number | Number of customers to skip (default: 0) |
Example response
Code examples
Authorization
X-API-Key<token>Your Swipelux API key. Obtain this from the Swipelux Dashboard.
In: header
Query Parameters
pageintegerPage number for pagination (default: 1)
Minimum:
1limitintegerNumber of results per page (default: 50, max: 100)
Minimum:
1Maximum: 100emailstringFilter by customer email address
Minimum length:
1phonestringFilter by customer phone number
Minimum length:
1customerIdstringFilter by specific customer ID
Minimum length:
1typeunknownFilter by customer type
Value in:
"individual" | "business"createdFromstringFilter customers created on or after this date (ISO 8601)
Format:
"date"createdTostringFilter customers created on or before this date (ISO 8601)
Format:
"date"Response Body
The customers were retrieved successfully
customersRequiredarray<object>paginationRequiredobject