List of all customers
This endpoint retrieves all your customers.
Request
GET https://api.nicereply.com/customers
By default, list of customers is sorted by created_at
.
Query Parameters
Pagination is supported.
Parameter | Required | Default | Description |
---|---|---|---|
sort_order | No | desc | Valid values is: asc or desc . |
Example response
200 OK
{
"data": [
{
"id": "9efc0780-840f-4336-a203-c77e7395fedb",
"full_name": "Mia Elliott",
"email": "mia+elliott@example.tld",
"created_at": "2022-05-26T09:48:22+02:00",
"updated_at": "2022-05-26T09:48:22+02:00"
},
{
"id": "7a236a57-c9e9-4357-8bf7-587c59fec4f9",
"full_name": "Ashley Nicholson",
"email": "ashley+nicholson@example.tld",
"created_at": "2022-04-06T11:24:55+02:00",
"updated_at": "2022-05-26T09:01:43+02:00"
}
// ...
],
"pagination": {
"total": 30,
"count": 10,
"per_page": 10,
"current_page": 1,
"total_pages": 3,
"links": {
"next": "/customers?page=2",
"prev": null
}
}
}