> ## 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.

# Find an identified respondent by exact email

> Read-only lookup using a request body to keep email out of URLs. Requires an all-surveys key. Matching ignores case.



## OpenAPI

````yaml /openapi.yaml post /v1/contacts/lookup
openapi: 3.1.0
info:
  title: Novella API
  version: 1.0.0
  description: >-
    Read surveys, responses, respondents, and survey analytics in your Novella
    workspace.
servers:
  - url: https://api.novellahq.com
    description: Production
security:
  - WorkspaceApiKey: []
tags:
  - name: System
  - name: Surveys
  - name: Responses
  - name: Respondents
  - name: Analytics
externalDocs:
  description: Novella API guides
  url: https://docs.novellahq.com
paths:
  /v1/contacts/lookup:
    post:
      tags:
        - Respondents
      summary: Find an identified respondent by exact email
      description: >-
        Read-only lookup using a request body to keep email out of URLs.
        Requires an all-surveys key. Matching ignores case.
      operationId: lookupContactByEmail
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - email
              properties:
                email:
                  type: string
                  format: email
                  maxLength: 254
      responses:
        '200':
          description: Identified respondent with identity fields.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RespondentEnvelope'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: Multiple contacts match this email.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              example:
                error:
                  type: server_error
                  code: ambiguous_contact
                  message: Multiple contacts match this address.
                  request_id: req_example
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  headers:
    RequestId:
      description: Server-generated request correlation ID.
      schema:
        type: string
    CacheControl:
      description: private, no-store on business resource responses.
      schema:
        type: string
      example: private, no-store
    RateLimitLimit:
      description: Workspace plan allowance per UTC minute.
      schema:
        type: integer
        minimum: 1
      example: 60
    RateLimitRemaining:
      description: Remaining allowance shared across all keys.
      schema:
        type: integer
        minimum: 0
      example: 59
    RateLimitReset:
      description: Unix seconds at next UTC minute boundary.
      schema:
        type: integer
      example: 1790791260
    WWWAuthenticate:
      description: Bearer challenge.
      schema:
        type: string
      example: Bearer
    RetryAfter:
      description: Whole seconds to wait before retrying. Required on quota 429.
      schema:
        type: integer
        minimum: 1
      example: 30
  schemas:
    RespondentEnvelope:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Respondent'
        meta:
          $ref: '#/components/schemas/RequestMeta'
      required:
        - data
        - meta
      additionalProperties: false
    ErrorEnvelope:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      additionalProperties: false
    Respondent:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/PublicId'
        created_at:
          $ref: '#/components/schemas/UtcTimestamp'
        updated_at:
          $ref: '#/components/schemas/UtcTimestamp'
        anonymized:
          type: boolean
        identity:
          $ref: '#/components/schemas/RespondentIdentity'
      required:
        - id
        - created_at
        - updated_at
        - anonymized
      additionalProperties: false
      description: >-
        identity omitted unless include=identity and permission. Always omitted
        when anonymized. Restricted keys only see respondents linked to allowed
        surveys.
    RequestMeta:
      type: object
      properties:
        request_id:
          type: string
          minLength: 1
      required:
        - request_id
      additionalProperties: false
    ErrorDetail:
      type: object
      properties:
        type:
          type: string
          enum:
            - validation_error
            - authentication_error
            - authorization_error
            - not_found_error
            - method_error
            - rate_limit_error
            - server_error
        code:
          type: string
          minLength: 1
        message:
          type: string
        request_id:
          type: string
          minLength: 1
      required:
        - type
        - code
        - message
        - request_id
      additionalProperties: false
    PublicId:
      type: string
      format: uuid
      pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
      description: Stable opaque public ID. Lowercase UUIDv4. Consumers must not parse it.
    UtcTimestamp:
      type: string
      format: date-time
      pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,6})?Z$
      description: UTC RFC3339 timestamp with Z suffix.
    RespondentIdentity:
      type: object
      properties:
        first_name:
          type:
            - string
            - 'null'
        last_name:
          type:
            - string
            - 'null'
        email:
          type:
            - string
            - 'null'
          format: email
        company:
          type:
            - string
            - 'null'
      required:
        - first_name
        - last_name
        - email
        - company
      additionalProperties: false
      description: Submitted values only; no CRM enrichment.
  responses:
    BadRequest:
      description: >-
        400: Invalid query parameter. Quota headers appear only after
        eligible-key attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: validation_error
              code: invalid_parameter
              message: Invalid query parameter.
              request_id: req_example
    Unauthorized:
      description: >-
        401: A valid API key is required. Quota headers appear only after
        eligible-key attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        WWW-Authenticate:
          $ref: '#/components/headers/WWWAuthenticate'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: authentication_error
              code: invalid_credentials
              message: A valid API key is required.
              request_id: req_example
    Forbidden:
      description: >-
        403: This API key does not have the required permission. Quota headers
        appear only after eligible-key attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: authorization_error
              code: forbidden
              message: Access denied.
              request_id: req_example
    NotFound:
      description: >-
        404: Resource not found. Quota headers appear only after eligible-key
        attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: not_found_error
              code: resource_not_found
              message: Resource not found.
              request_id: req_example
    TooManyRequests:
      description: >-
        429: Workspace request limit exceeded. Quota headers appear only after
        eligible-key attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: rate_limit_error
              code: rate_limit_exceeded
              message: Workspace request limit exceeded.
              request_id: req_example
    InternalError:
      description: >-
        500: An unexpected error occurred. Quota headers appear only after
        eligible-key attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: server_error
              code: internal_error
              message: An unexpected error occurred.
              request_id: req_example
    ServiceUnavailable:
      description: >-
        503: The requested service is temporarily unavailable. Quota headers
        appear only after eligible-key attribution.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              type: server_error
              code: service_unavailable
              message: The requested service is temporarily unavailable.
              request_id: req_example
  securitySchemes:
    WorkspaceApiKey:
      type: http
      scheme: bearer
      bearerFormat: Random 32-byte Base64URL secret
      description: Send your workspace API key as an Authorization Bearer token.

````

## Related topics

- [Look up a contact](https://docs.novellahq.com/contact-lookup.md)
- [Get a respondent](https://docs.novellahq.com/api-reference/respondents/get-a-respondent.md)
- [List visible respondents](https://docs.novellahq.com/api-reference/respondents/list-visible-respondents.md)
- [API quickstart](https://docs.novellahq.com/quickstart.md)
- [Novella API](https://docs.novellahq.com/index.md)


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