# GET by Email

#### `GET /participants/:email` <a href="#get-participants-email" id="get-participants-email"></a>

```
const getParticipants = () => {
  const timestamp = Math.round(Date.now() / 1000)
  const payload = timestamp + 'GET' + '/participants/{email}' + '{}'
  const decodedSecret = Buffer.from(apiSecret, 'base64')
  const hmac = crypto.createHmac('sha256', decodedSecret)
  const signedPayload = hmac.update(payload).digest('base64')

  // SET HEADERS
 const headers = {
    'X-NDAX-API-KEY': 'public_key',
    'X-NDAX-SIGNED': signedPayload,
    'X-NDAX-TIMESTAMP': timestamp,
    'X-NDAX-PASSPHRASE': 'passphrase'
  }
  const options = {
    headers,
    body,
    json: true
  }

  return request.get('https://api.ndax.in/participants/{email}', options)
}
```

> Sample Response

```
{
  "message": {
    "participant_code": "ABCDEF",
    "email": "customer@admin.com"
  }
}
```

Returns a participant to which you are associated by an email. As an alternative to using the `email` query parameter described above within the GET /participants endpoint, this is a lighter-weight and dedicated endpoint to filter participants by email.

Query parameters include:

* `email` filters to a particular email

Response parameters listed below

<table><thead><tr><th width="185.33333333333331">Parameter</th><th width="353">Description</th><th>Type</th></tr></thead><tbody><tr><td>participant_code</td><td>Unique participant code</td><td>string</td></tr><tr><td>email</td><td>Email associated with the participant</td><td>string</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ndax.in/v3/private-endpoints/participants/get-by-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
