# List end users (/data-api/api-reference/v1/list-end-users)

List end users belonging to a client. In v1 and v2 this endpoint is not paginated: without `email`, it returns at most 1,000 end users. To page through all end users, use v3 by sending `X-Fiskil-Version: v3` (see https://docs.fiskil.com/data-api/guides/core-concepts/versioning).

## GET /end-users

**List end users**

List end users belonging to a client. Results are cursor-paginated. Pagination applies only in v3: send `X-Fiskil-Version: v3`, or pin v3 as your team's default version in Console. See https://docs.fiskil.com/data-api/guides/core-concepts/versioning.

**Tags:** end-users, v3

### Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `email` | query | string | No | Email address to filter end users by (exact match). URL-encode the value: a `+` must be sent as `%2B` (for example `?email=john_starmer%2Bfiskil@gmail.com`), otherwise it is decoded as a space and no end user matches. |
| `page[before]` | query | string | No | When page[before] is specified, backwards pagination is achieved. |
| `page[after]` | query | string | No | When page[after] is specified, forwards pagination is achieved. |
| `page[size]` | query | integer | No | When page[size] is specified, no more than page[size] resources will be included in the response. Defaults to 25 and is capped at 1000; larger values return 1000. |

### Responses

**200:** OK

| Field | Type | Description |
|-------|------|-------------|
| `end_users` | server.EnduserResponse[] | A list of end users belonging to the client. |
| `links` | object | Links to be used for pagination. |

**400:** Bad Request

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Unique identifier for this error. |
| `message` | string | Details about the error that occurred. |
| `name` | string | The name of the error. |

**500:** Internal Server Error

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Unique identifier for this error. |
| `message` | string | Details about the error that occurred. |
| `name` | string | The name of the error. |

### Example Request
```bash
curl -X GET "https://api.fiskil.com/end-users" \
  -H "Authorization: Bearer YOUR_TOKEN"
```