> ## Documentation Index
> Fetch the complete documentation index at: https://getequity.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search For a Customer

> Search for a customer by name or email

<ParamField query="name" type="string">
  The name of the customer to search for
</ParamField>

<ParamField query="email" type="string">
  The email of the customer to search for
</ParamField>

<ResponseExample>
  ```json theme={null}
  {
    "status": "success",
    "message": "Customer gotten successfully",
    "data": [
      {
        "_id": "6246412c902306075e09c71a",
        "organisation": "62424e97d1e7590032dc7ed0",
        "name": "William Client",
        "email": "willy@yopmail.com",
        "createdAt": "2022-04-01T00:02:52.078Z",
        "updatedAt": "2022-04-01T00:02:52.078Z",
        "id": "6246412c902306075e09c71a"
      },
      {
        "_id": "6246440b4497dd0880a67262",
        "organisation": "62424e97d1e7590032dc7ed0",
        "name": "Magixxx Client",
        "email": "magixx@yopmail.com",
        "createdAt": "2022-04-01T00:15:07.566Z",
        "updatedAt": "2022-04-01T00:15:07.566Z",
        "id": "6246440b4497dd0880a67262"
      }
    ]
  }
  ```
</ResponseExample>
