API Reference
List customers
Lists customers for the authenticated organization, newest first. Filter by exact email or external ID, or search across email, name and external ID.
Authorization
bearerAuth Query Parameters
limit?integer
Default
50Range
1 <= value <= 100offset?|
Default
0Range
0 <= valuesearch?string
Case-insensitive substring match on email, name or external ID.
Length
1 <= lengthemail?string
Exact email match (case-insensitive).
Length
1 <= lengthexternalId?string
Exact external ID match.
Length
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.owostack.com/v1/customers"{
"success": true,
"data": [
{
"id": "string",
"externalId": "string",
"email": "string",
"name": "string",
"metadata": {
"property1": null,
"property2": null
},
"createdAt": 0,
"updatedAt": 0
}
],
"total": 0,
"limit": 0,
"offset": 0
}{
"success": true,
"error": "string",
"code": "string",
"message": "string",
"property1": null,
"property2": null
}{
"success": true,
"error": "string",
"code": "string",
"message": "string",
"property1": null,
"property2": null
}{
"success": true,
"error": "string",
"code": "string",
"message": "string",
"property1": null,
"property2": null
}