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

# Look up a contact

> Find a Novella respondent by exact email and use their public ID to retrieve feedback.

Use `POST /v1/contacts/lookup` to resolve an email address to a respondent. Use an all-surveys key with both `respondents:read` and `respondents:identity:read`. The lookup reads existing data and takes the email in the request body.

```bash theme={"system"}
curl -sS --fail-with-body 'https://api.novellahq.com/v1/contacts/lookup' \
  -H "Authorization: Bearer ${NOVELLA_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data '{"email":"person@example.com"}'
```

Matching ignores case. A successful response includes the public respondent ID in `data.id`.

HTTP 404 means no accessible identified respondent matched. HTTP 409 (`ambiguous_contact`) means multiple respondents matched the address.

## Retrieve a respondent by ID

By default, `GET /v1/respondents/{id}` returns the public ID, creation and update timestamps, and whether the respondent is anonymized. To request identity fields, use a key with both `respondents:read` and `respondents:identity:read` and add `include=identity`. Replace the example ID with the public ID from the lookup.

```bash theme={"system"}
RESPONDENT_ID='df912d15-a2cb-4b8e-9f2e-f267d74a57f1'

curl -sS --fail-with-body "https://api.novellahq.com/v1/respondents/${RESPONDENT_ID}?include=identity" \
  -H "Authorization: Bearer ${NOVELLA_API_KEY}"
```

For a non-anonymized respondent, `data.identity` contains `first_name`, `last_name`, `email`, and `company`. Unavailable values are `null`. For anonymized respondents, the API omits `identity`. A key limited to selected surveys can retrieve respondents linked to a visible response on one of those surveys.

## Retrieve the respondent's feedback

Use a key with `responses:read` and pass the same ID as `respondent_id`. The results reflect the key's survey access.

```bash theme={"system"}
curl -sS --fail-with-body --get 'https://api.novellahq.com/v1/responses' \
  -H "Authorization: Bearer ${NOVELLA_API_KEY}" \
  --data-urlencode "respondent_id=${RESPONDENT_ID}"
```


## Related topics

- [Novella API](https://docs.novellahq.com/index.md)
- [Authentication](https://docs.novellahq.com/authentication.md)
- [Errors and rate limits](https://docs.novellahq.com/errors.md)
- [Read survey analytics](https://docs.novellahq.com/survey-analytics.md)
- [Find an identified respondent by exact email](https://docs.novellahq.com/api-reference/respondents/find-an-identified-respondent-by-exact-email.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.