---
page_source: https://juspay.io/in/docs/lotuspay/web/core-resources/list-all-customers
page_title: List all customers
---

## API Version: default


# List all customers



You can see a list of your customers. The customers are returned sorted by creation date, with the most recent appearing first. You can use this API method and the limit parameter to page through customers.

**ARGUMENTS** 


| Argument | Description |
|---|---|
| limit optional, default is 100 | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 100. |
| page optional | This will return all the customer within the page. |


**Returns**  A dictionary with a `data` property that contains an array of up to `limit` customers  and when you pass `page`  it will return you all the entries in the respective page.Passing an optional `email` will result in filtering to customers with only that exact email address. Each entry in the array is a separate customer object. If no more customers are available, the resulting array will be empty. If you provide a non-existent `email`, this call returns an error.## Endpoints:
- Sandbox: https://api-test.lotuspay.com/v1/customers

- Production: https://api.lotuspay.com/v1/customers

## Request Type: 
GET

## Content-Type: 
application/json

## Authorization:

#### Basic Auth:
Auth example
- Value:  sk_test_XjIHowXWSI23uvjepz2X82
## Sample Code Snippets:
### Sample Request and Response:

#### Request:
```Shell
{"success":false,"message":"No Data found for the given path"}
```

#### Response:
```json
{"success":false,"message":"No Data found for the given path"}
```

## API Responses:
