---
updatedAt: 2026-04-08T00:12:31.000Z
agentTools:
  projectIndex: https://docs.pelcro.com/v2.4/llms.txt
---

# List customers

Retrieve a paginated list of customers.

## Overview

Retrieve a paginated list of customers on your site. Supports [filtering and sorting](api-core-filtering-and-sorting) and [expanding relationships](api-core-expanding-relationships).

**Example:** You want to find all customers from a specific company. Call this endpoint with `filter[metadata.company]=eq:Acme` to get the list.

| Feature                                        | Fields                                                        |
| ---------------------------------------------- | ------------------------------------------------------------- |
| [Searchable](api-core-filtering-and-sorting)   | `email`, `first_name`, `last_name`, `id`, `metadata.*`        |
| [Sortable](api-core-filtering-and-sorting)     | `id`, `email`                                                 |
| [Expandable](api-core-expanding-relationships) | `addresses`, `defaultSource`, `organization`, `subscriptions` |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "core-api",
    "version": "1.88"
  },
  "servers": [
    {
      "url": "https://www.pelcro.com/api/v1/core"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      },
      "sec1": {
        "type": "apiKey",
        "in": "query",
        "name": "site_id"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/customers": {
      "get": {
        "summary": "List customers",
        "description": "Retrieve a paginated list of customers.",
        "operationId": "api-core-list-customers",
        "parameters": [
          {
            "name": "site_id",
            "in": "query",
            "description": "The unique identifier of the site associated with your account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of objects you want returned per result set. For instance, if you set limit=10, the API will return a maximum of 10 objects in the response. (max: 100)",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The specific page of the result set you want to retrieve, typically used in conjunction with limit. For example, if you set page=2 and limit=10, the API will return the second page of results, containing a maximum of 10 objects starting from the 11th object.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort field. Prefix with - for descending.",
            "schema": {
              "type": "string",
              "enum": [
                "id",
                "-id",
                "email",
                "-email"
              ]
            }
          },
          {
            "name": "expand",
            "in": "query",
            "description": "Comma-separated relationships to expand: addresses, defaultSource, organization, subscriptions.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer eyJ***"
            }
          },
          {
            "name": "filter[email]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by email. Operators: eq, like. Example: like:john@"
          },
          {
            "name": "filter[first_name]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by first name. Operators: eq, like. Example: like:Jane"
          },
          {
            "name": "filter[last_name]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by last name. Operators: eq, like. Example: like:Doe"
          },
          {
            "name": "filter[id]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by customer ID. Example: eq:12345"
          },
          {
            "name": "filter[phone]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by phone number. Only eq operator supported. Example: eq:15551234567"
          },
          {
            "name": "filter[metadata.*]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by metadata key. Operators: eq, has. Example: filter[metadata.company]=eq:Acme or filter[metadata]=has:company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "examples": {
                  "Default": {
                    "summary": "Default",
                    "value": {
                      "data": [
                        {
                          "id": 3823959,
                          "addresses": [],
                          "default_source": null,
                          "organization": null,
                          "subscriptions": [],
                          "display_name": "Jonathan Labadie",
                          "username": "jonathan-labadie",
                          "email": "JonathanLabadie@example.com",
                          "email_confirm": false,
                          "email_hardbounce": false,
                          "first_name": "Jonathan",
                          "last_name": "Labadie",
                          "mail_marketing": false,
                          "metadata": {
                            "key1": "value_for_metadata_key1",
                            "key2": "value_for_metadata_key2"
                          },
                          "name": "Jonathan Labadie",
                          "old_provider_id": null,
                          "is_imported": null,
                          "phone": "6569002302",
                          "phone_confirm": false,
                          "salutation": "Dr.",
                          "language": "en",
                          "title": "Product Applications Developer",
                          "tin": null,
                          "profile_photo": null,
                          "default_source_id": null,
                          "tele_marketing": false,
                          "timezone": null,
                          "has_password": true,
                          "password_last_updated_at": null,
                          "last_login_at": null,
                          "last_login_method": null,
                          "created_at": 1718891384,
                          "updated_at": 1718891385,
                          "billing_email": null,
                          "last_active_at": null
                        },
                        {
                          "id": 3823960,
                          "addresses": [],
                          "default_source": null,
                          "organization": null,
                          "subscriptions": [],
                          "display_name": null,
                          "username": "ervin-hilll",
                          "email": "ErvinHilll@example.com",
                          "email_confirm": false,
                          "email_hardbounce": false,
                          "first_name": "Ervin",
                          "last_name": "Hilll",
                          "mail_marketing": false,
                          "metadata": null,
                          "name": "Ervin Hilll",
                          "old_provider_id": null,
                          "is_imported": false,
                          "phone": "17614016153",
                          "phone_confirm": false,
                          "salutation": null,
                          "language": null,
                          "title": "Dynamic Program Technician",
                          "tin": null,
                          "profile_photo": null,
                          "default_source_id": null,
                          "tele_marketing": false,
                          "timezone": null,
                          "has_password": true,
                          "password_last_updated_at": null,
                          "last_login_at": null,
                          "last_login_method": null,
                          "created_at": 1718891439,
                          "updated_at": 1718891439,
                          "billing_email": null,
                          "last_active_at": null
                        },
                        {
                          "id": 3823961,
                          "addresses": [],
                          "default_source": null,
                          "organization": null,
                          "subscriptions": [],
                          "display_name": null,
                          "username": "lenna-prosacco",
                          "email": "LennaProsacco@example.com",
                          "email_confirm": false,
                          "email_hardbounce": false,
                          "first_name": "Lenna",
                          "last_name": "Prosacco",
                          "mail_marketing": false,
                          "metadata": null,
                          "name": "Lenna Prosacco",
                          "old_provider_id": null,
                          "is_imported": true,
                          "phone": "226627458539279",
                          "phone_confirm": false,
                          "salutation": null,
                          "language": null,
                          "title": "Chief Mobility Assistant",
                          "tin": null,
                          "profile_photo": null,
                          "default_source_id": null,
                          "tele_marketing": false,
                          "timezone": null,
                          "has_password": true,
                          "password_last_updated_at": null,
                          "last_login_at": null,
                          "last_login_method": null,
                          "created_at": 1718891449,
                          "updated_at": 1718891959,
                          "billing_email": null,
                          "last_active_at": null
                        },
                        {
                          "id": 3823962,
                          "addresses": [],
                          "default_source": 1917977,
                          "organization": null,
                          "subscriptions": [],
                          "display_name": "Kennith Crist",
                          "username": "kennith-crist",
                          "email": "KennithCrist@example.com",
                          "email_confirm": false,
                          "email_hardbounce": true,
                          "first_name": "Kennith",
                          "last_name": "Crist",
                          "mail_marketing": false,
                          "metadata": {
                            "key1": "value_for_metadata_key1",
                            "key2": "value_for_metadata_key2"
                          },
                          "name": "Kennith Crist",
                          "old_provider_id": null,
                          "is_imported": null,
                          "phone": "3528293165227",
                          "phone_confirm": false,
                          "salutation": "Mrs.",
                          "language": "en",
                          "title": "Global Functionality Producer",
                          "tin": null,
                          "profile_photo": null,
                          "default_source_id": 1917977,
                          "tele_marketing": false,
                          "timezone": null,
                          "has_password": true,
                          "password_last_updated_at": null,
                          "last_login_at": null,
                          "last_login_method": null,
                          "created_at": 1718892108,
                          "updated_at": 1718892169,
                          "billing_email": null,
                          "last_active_at": null
                        },
                        {
                          "id": 3823963,
                          "addresses": [],
                          "default_source": 1917978,
                          "organization": null,
                          "subscriptions": [],
                          "display_name": "Rex Bogisich",
                          "username": "rex-bogisich",
                          "email": "RexBogisich@example.com",
                          "email_confirm": false,
                          "email_hardbounce": false,
                          "first_name": "Rex",
                          "last_name": "Bogisich",
                          "mail_marketing": false,
                          "metadata": {
                            "key1": "value_for_metadata_key1",
                            "key2": "value_for_metadata_key2"
                          },
                          "name": "Rex Bogisich",
                          "old_provider_id": null,
                          "is_imported": null,
                          "phone": "1441502426143387",
                          "phone_confirm": false,
                          "salutation": "Dr.",
                          "language": "en",
                          "title": "Lead Markets Orchestrator",
                          "tin": null,
                          "profile_photo": null,
                          "default_source_id": 1917978,
                          "tele_marketing": false,
                          "timezone": null,
                          "has_password": true,
                          "password_last_updated_at": null,
                          "last_login_at": null,
                          "last_login_method": null,
                          "created_at": 1718894386,
                          "updated_at": 1718894437,
                          "billing_email": null,
                          "last_active_at": null
                        }
                      ],
                      "links": {
                        "first": "https://www.pelcro.com/api/v1/core/customers?page=1",
                        "last": "https://www.pelcro.com/api/v1/core/customers?page=1",
                        "prev": null,
                        "next": null
                      },
                      "meta": {
                        "current_page": 1,
                        "from": 1,
                        "last_page": 1,
                        "links": [
                          {
                            "url": null,
                            "label": "&laquo; Previous",
                            "active": false
                          },
                          {
                            "url": "https://www.pelcro.com/api/v1/core/customers?page=1",
                            "label": "1",
                            "active": true
                          },
                          {
                            "url": null,
                            "label": "Next &raquo;",
                            "active": false
                          }
                        ],
                        "path": "https://www.pelcro.com/api/v1/core/customers",
                        "per_page": 10,
                        "to": 5,
                        "total": 5
                      }
                    }
                  },
                  "Expanded": {
                    "summary": "Expanded",
                    "value": "{\n  \"data\": [\n    {\n      \"id\": 3823961,\n      \"addresses\": [\n        {\n          \"id\": 19,\n          \"type\": \"shipping\",\n          \"is_default\": true,\n          \"first_name\": \"John\",\n          \"last_name\": \"Doe\",\n          \"line1\": \"123 Main St\",\n          \"city\": \"New York\",\n          \"state\": \"NY\",\n          \"postal_code\": \"10001\",\n          \"country\": \"US\"\n        }\n      ],\n      \"default_source\": null,\n      \"organization\": 31912,\n      \"subscriptions\": [\n        {\n          \"id\": 104,\n          \"plan\": 327,\n          \"status\": \"active\",\n          \"billing\": \"charge_automatically\",\n          \"created\": 1616245118,\n          \"current_period_end\": 1618923518\n        }\n      ],\n      \"display_name\": null,\n      \"username\": \"john-doe\",\n      \"email\": \"john@example.com\",\n      \"email_confirm\": true,\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"mail_marketing\": false,\n      \"metadata\": null,\n      \"name\": \"John Doe\",\n      \"phone\": \"5551234567\",\n      \"created_at\": 1718891449,\n      \"updated_at\": 1718891959\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"from\": 1,\n    \"last_page\": 1,\n    \"per_page\": 10,\n    \"to\": 1,\n    \"total\": 1\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 3823959,
                            "default": 0
                          },
                          "addresses": {
                            "type": "array"
                          },
                          "default_source": {},
                          "organization": {},
                          "subscriptions": {
                            "type": "array"
                          },
                          "display_name": {
                            "type": "string",
                            "example": "Jonathan Labadie"
                          },
                          "username": {
                            "type": "string",
                            "example": "jonathan-labadie"
                          },
                          "email": {
                            "type": "string",
                            "example": "JonathanLabadie@example.com"
                          },
                          "email_confirm": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "email_hardbounce": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "first_name": {
                            "type": "string",
                            "example": "Jonathan"
                          },
                          "last_name": {
                            "type": "string",
                            "example": "Labadie"
                          },
                          "mail_marketing": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "metadata": {
                            "type": "object",
                            "properties": {
                              "key1": {
                                "type": "string",
                                "example": "value_for_metadata_key1"
                              },
                              "key2": {
                                "type": "string",
                                "example": "value_for_metadata_key2"
                              }
                            }
                          },
                          "name": {
                            "type": "string",
                            "example": "Jonathan Labadie"
                          },
                          "old_provider_id": {},
                          "is_imported": {},
                          "phone": {
                            "type": "string",
                            "example": "6569002302"
                          },
                          "phone_confirm": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "salutation": {
                            "type": "string",
                            "example": "Dr."
                          },
                          "language": {
                            "type": "string",
                            "example": "en"
                          },
                          "title": {
                            "type": "string",
                            "example": "Product Applications Developer"
                          },
                          "tin": {},
                          "profile_photo": {},
                          "default_source_id": {},
                          "tele_marketing": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "timezone": {},
                          "has_password": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "password_last_updated_at": {
                            "type": "integer",
                            "format": "int64",
                            "nullable": true,
                            "description": "Unix timestamp of last password change."
                          },
                          "last_login_at": {
                            "type": "integer",
                            "format": "int64",
                            "nullable": true,
                            "description": "Unix timestamp of last successful login."
                          },
                          "last_login_method": {},
                          "created_at": {
                            "type": "integer",
                            "example": 1718891384,
                            "default": 0,
                            "format": "int64"
                          },
                          "updated_at": {
                            "type": "integer",
                            "example": 1718891385,
                            "default": 0,
                            "format": "int64"
                          },
                          "billing_email": {
                            "type": "string",
                            "example": "billing@example.com"
                          },
                          "last_active_at": {
                            "type": "integer",
                            "example": 1660357832,
                            "default": 0,
                            "format": "int64"
                          }
                        }
                      }
                    },
                    "links": {
                      "type": "object",
                      "properties": {
                        "first": {
                          "type": "string",
                          "example": "https://www.pelcro.com/api/v1/core/customers?page=1"
                        },
                        "last": {
                          "type": "string",
                          "example": "https://www.pelcro.com/api/v1/core/customers?page=1"
                        },
                        "prev": {},
                        "next": {}
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "current_page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "from": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "last_page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "links": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {},
                              "label": {
                                "type": "string",
                                "example": "&laquo; Previous"
                              },
                              "active": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              }
                            }
                          }
                        },
                        "path": {
                          "type": "string",
                          "example": "https://www.pelcro.com/api/v1/core/customers"
                        },
                        "per_page": {
                          "type": "integer",
                          "example": 10,
                          "default": 0
                        },
                        "to": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        },
                        "total": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": {
                        "status": 400,
                        "message": "Invalid request, please try again."
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "message": {
                          "type": "string",
                          "example": "Invalid request, please try again."
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": "Unauthenticated."
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Unauthenticated."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": null
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```

# Sibling pages

* [Create customer](https://docs.pelcro.com/v2.4/reference/api-core-create-customer.md)
* [Get customer](https://docs.pelcro.com/v2.4/reference/api-core-get-customer.md)
* [Update customer](https://docs.pelcro.com/v2.4/reference/api-core-update-customer.md)
* [Delete customer](https://docs.pelcro.com/v2.4/reference/api-core-delete-customer.md)
* [Credit from payment method](https://docs.pelcro.com/v2.4/reference/api-core-credit-from-payment-method.md)
* [Delete customer metadata](https://docs.pelcro.com/v2.4/reference/api-core-delete-customer-metadata.md)