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

# Look up a contact by email

> Returns the contact with this email address, or 404. Reads the latest data, unlike the list. URL-encode the email: an unencoded `+` reads as a space and gives 400.


Requires one of the following scopes: `lifecycle_contacts:read`, `lifecycle_contacts:all`, `all:read`, `all:all`



## OpenAPI

````yaml https://api.instantly.ai/openapi/api_v2_lifecycle.json get /api/v2/lifecycle/contacts/lookup
openapi: 3.1.0
info:
  title: API Explorer
  description: >-
    The entire API V2 documentation is interactive and can be tested here. To
    the right side of every endpoint you will see a box with an example request.
    You can click on the "Try it" button to send a request to the server right
    from the docs. You will need to provide an API key by clicking the
    `ApiKeyAuth_token` blue text.
  version: 2.0.0
servers:
  - url: https://api.instantly.ai
    description: Instantly API Server
security:
  - ApiKeyAuth: []
tags:
  - name: Contact
    description: >-
      A contact in the workspace: one email address with its consent, tags and
      custom attributes. Segments, and the broadcasts and journeys that target
      them, read contacts. Optional fields with no value are left out of
      responses. The contact list, contact imports and tags page with `cursor`:
      pass the previous page's `next_cursor` until there is none. A contact's
      emails page with `starting_after` and `next_starting_after`.
    x-group: Contact
  - name: Segment
    description: >-
      A saved set of rules that selects contacts. Membership is worked out each
      time the segment is used. Optional fields with no value are left out of
      responses. Lists page with `cursor`: pass the previous page's
      `next_cursor` until there is none.
    x-group: Segment
  - name: Broadcast
    description: >-
      An email marketing broadcast campaign. Optional fields with no value are
      left out of responses. Lists page with `starting_after`: pass the previous
      page's `next_starting_after` until there is none.
    x-group: Broadcast
  - name: Domain
    description: >-
      An email sending domain. Optional fields with no value are left out of
      responses. Lists page with `starting_after`: pass the previous page's
      `next_starting_after` until there is none.
    x-group: Domain
  - name: Journey
    description: >-
      A customer journey, triggered by an event or by membership of a segment.
      Optional fields with no value are left out of responses. Lists page with
      `starting_after`: pass the previous page's `next_starting_after` until
      there is none. Step contacts page with `cursor` and `next_cursor` instead.
    x-group: Journey
  - name: EventCatalogEntry
    description: >-
      An event type seen in this workspace, which journey triggers and
      conversions can use. Optional fields with no value are left out of
      responses. Lists page with `starting_after`: pass the previous page's
      `next_starting_after` until there is none.
    x-group: Event Catalog Entry
  - name: Template
    description: >-
      An email marketing template. Optional fields with no value are left out of
      responses. Lists page with `starting_after`: pass the previous page's
      `next_starting_after` until there is none.
    x-group: Template
  - name: TemplateAsset
    description: >-
      An image or file uploaded for use in email templates. Optional fields with
      no value are left out of responses. Lists page with `starting_after`: pass
      the previous page's `next_starting_after` until there is none.
    x-group: Template Asset
  - name: EmailMetrics
    description: >-
      Aggregated email marketing metrics including totals, time-series data, and
      metadata.
    x-group: Email Metrics
  - name: Conversion
    description: >-
      A conversion event received for a person, credited to the emails they got
      before it.
    x-group: Conversion
paths:
  /api/v2/lifecycle/contacts/lookup:
    get:
      tags:
        - Contact
      summary: Look up a contact by email
      description: >-
        Returns the contact with this email address, or 404. Reads the latest
        data, unlike the list. URL-encode the email: an unencoded `+` reads as a
        space and gives 400.



        Requires one of the following scopes: `lifecycle_contacts:read`,
        `lifecycle_contacts:all`, `all:read`, `all:all`
      operationId: lookupContact
      parameters:
        - schema:
            type: string
            format: email
            maxLength: 254
            example: subscriber@example.com
          example: subscriber@example.com
          in: query
          name: email
          required: true
          description: Email address of the contact
      responses:
        '200':
          description: The contact with this email
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '400':
          description: >-
            The request is invalid. `message` names the field and the problem.
            `code` is `FST_ERR_VALIDATION` when the request does not match this
            schema and `VALIDATION_ERROR` when a value is refused after that. A
            request the resource's current state does not allow, such as pausing
            a broadcast that is not sending, has its own `code` named on that
            operation. `code` is absent on a few request-level checks.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  The request is invalid. `message` names the field and the
                  problem. `code` is `FST_ERR_VALIDATION` when the request does
                  not match this schema and `VALIDATION_ERROR` when a value is
                  refused after that. A request the resource's current state
                  does not allow, such as pausing a broadcast that is not
                  sending, has its own `code` named on that operation. `code` is
                  absent on a few request-level checks.
                properties:
                  statusCode:
                    type: number
                    example: 400
                  error:
                    type: string
                    example: Bad Request
                  message:
                    type: string
                    example: 'limit: must be at most 50'
                  code:
                    type: string
                    description: >-
                      Machine-readable error code. Branch on this, not on the
                      message.
                    example: VALIDATION_ERROR
        '401':
          description: >-
            This request is unauthorized (either the Authorization header is
            missing or invalid, or the API key has been revoked)
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 401
                    examples:
                      - 401
                    example: 401
                  error:
                    type: string
                    enum:
                      - Unauthorized
                    examples:
                      - Unauthorized
                    example: Unauthorized
                  message:
                    type: string
                    examples:
                      - Missing Authorization header
                    example: Missing Authorization header
                required:
                  - statusCode
                  - error
                  - message
        '402':
          description: >-
            This request cannot be fulfilled because the workspace does not have
            an active paid plan
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 402
                    examples:
                      - 402
                    example: 402
                  error:
                    type: string
                    enum:
                      - Payment Required
                    examples:
                      - Payment Required
                    example: Payment Required
                  message:
                    type: string
                    examples:
                      - Workspace does not have an active paid plan
                    example: Workspace does not have an active paid plan
                required:
                  - statusCode
                  - error
                  - message
        '403':
          description: >-
            The workspace may not perform this action, for example while it is
            suspended. A key without the required scope gets a 401.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  The workspace may not perform this action, for example while
                  it is suspended. A key without the required scope gets a 401.
                properties:
                  statusCode:
                    type: number
                    example: 403
                  error:
                    type: string
                    example: Forbidden
                  message:
                    type: string
                    example: >-
                      Workspace suspended due to a high bounce or spam complaint
                      rate. Please contact support.
                  code:
                    type: string
                    description: >-
                      Machine-readable error code. Branch on this, not on the
                      message.
                    example: WORKSPACE_SUSPENDED
        '404':
          description: The resource does not exist in this workspace.
          content:
            application/json:
              schema:
                type: object
                description: The resource does not exist in this workspace.
                properties:
                  statusCode:
                    type: number
                    example: 404
                  error:
                    type: string
                    example: Not Found
                  message:
                    type: string
                    example: Not found
                  code:
                    type: string
                    description: >-
                      Machine-readable error code. Branch on this, not on the
                      message.
                    example: NOT_FOUND
        '408':
          description: >-
            The request timed out. The outcome is unknown: a write may or may
            not have been applied. Read the resource back before retrying.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  The request timed out. The outcome is unknown: a write may or
                  may not have been applied. Read the resource back before
                  retrying.
                properties:
                  statusCode:
                    type: number
                    example: 408
                  error:
                    type: string
                    example: Request Timeout
                  message:
                    type: string
                    example: An internal error occurred
        '409':
          description: The request conflicts with the current state of the resource.
          content:
            application/json:
              schema:
                type: object
                description: The request conflicts with the current state of the resource.
                properties:
                  statusCode:
                    type: number
                    example: 409
                  error:
                    type: string
                    example: Conflict
                  message:
                    type: string
                    example: The resource has changed. Reload it and try again.
                  code:
                    type: string
                    description: >-
                      Machine-readable error code. Branch on this, not on the
                      message.
                    example: CONFLICT
        '429':
          description: >-
            You have exceeded the rate limit. Please check the rate limit docs
            for more information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 429
                    examples:
                      - 429
                    example: 429
                  error:
                    type: string
                    enum:
                      - Too Many Requests
                    examples:
                      - Too Many Requests
                    example: Too Many Requests
                  message:
                    type: string
                    examples:
                      - Rate limit exceeded
                    example: Rate limit exceeded
                required:
                  - statusCode
                  - error
                  - message
        '500':
          description: >-
            An internal error occurred. The outcome is unknown: a write may or
            may not have been applied. Read the resource back before retrying.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  An internal error occurred. The outcome is unknown: a write
                  may or may not have been applied. Read the resource back
                  before retrying.
                properties:
                  statusCode:
                    type: number
                    example: 500
                  error:
                    type: string
                    example: Internal Server Error
                  message:
                    type: string
                    example: An internal error occurred
components:
  schemas:
    Contact:
      title: Contact
      description: >-
        A contact in the workspace: one email address with its consent, tags and
        custom attributes. Segments, and the broadcasts and journeys that target
        them, read contacts. Optional fields with no value are left out of
        responses. The contact list, contact imports and tags page with
        `cursor`: pass the previous page's `next_cursor` until there is none. A
        contact's emails page with `starting_after` and `next_starting_after`.
      x-tags:
        - Schemas
        - Contact
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the contact
          readOnly: true
          format: uuid
          example: 01a21739-946c-72d9-9519-f01332021188
        workspace_id:
          type: string
          description: Workspace that owns the contact
          readOnly: true
          format: uuid
          example: 01a21739-946c-72d9-9519-f01404a9d005
        email:
          type: string
          description: Canonical normalized email address
          readOnly: true
          example: subscriber@example.com
        first_name:
          type:
            - 'null'
            - string
          description: >-
            First name, up to 100 characters and 256 bytes (UTF-8), or null when
            unset
          minLength: 1
          maxLength: 100
          example: Jane
        last_name:
          type:
            - 'null'
            - string
          description: >-
            Last name, up to 100 characters and 256 bytes (UTF-8), or null when
            unset
          minLength: 1
          maxLength: 100
          example: Doe
        custom_attributes:
          type: object
          description: >-
            Typed custom attributes keyed by attribute name. At most 250
            attributes. Attribute names are at most 128 bytes (UTF-8) and text
            values at most 4,096 bytes. The whole contact record is capped at
            about 300 KB, so a contact cannot hold the maximum number of
            attributes at the maximum size.
          maxProperties: 250
          additionalProperties:
            oneOf:
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - string
                    examples:
                      - string
                    description: Type of the value
                    example: string
                  value:
                    type: string
                    examples:
                      - Growth
                    description: >-
                      Text value, at most 4,096 bytes (UTF-8): fewer characters
                      for non-Latin text
                    example: Growth
                required:
                  - type
                  - value
                additionalProperties: false
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - number
                    examples:
                      - number
                    description: Type of the value
                    example: number
                  value:
                    type: number
                    examples:
                      - 297
                    description: Number value
                    example: 297
                required:
                  - type
                  - value
                additionalProperties: false
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - boolean
                    examples:
                      - boolean
                    description: Type of the value
                    example: boolean
                  value:
                    type: boolean
                    examples:
                      - true
                    description: Boolean value
                    example: true
                required:
                  - type
                  - value
                additionalProperties: false
        tag_ids:
          type: array
          description: IDs of the tags the contact has
          readOnly: true
          items:
            type: string
            example: 01a21739-946c-72d9-9519-f0157501d535
        group_ids:
          type: array
          description: IDs of the legacy subscriber groups the contact belongs to
          readOnly: true
          items:
            type: string
            example: 01a21739-946c-72d9-9519-f016f9ad040b
        consent_status:
          type: string
          description: Current workspace-wide marketing consent status
          readOnly: true
          enum:
            - never_consented
            - subscribed
            - unsubscribed
          example: subscribed
        consent_updated_at:
          type: string
          description: Timestamp of the last consent status transition
          readOnly: true
          format: date-time
          example: '2026-11-26T09:39:39.244Z'
        consent_source:
          type: string
          description: Source of the current consent status
          readOnly: true
          enum:
            - event
            - import
            - api
            - sync
          example: api
        delivery_status:
          type: string
          description: Current email delivery eligibility status
          readOnly: true
          enum:
            - deliverable
            - hard_bounced
            - complained
            - suppressed
          example: deliverable
        origin:
          type: string
          description: Source that originally created the contact
          readOnly: true
          enum:
            - event
            - import
            - api
            - sync
          example: api
        timestamp_created:
          type: string
          description: Timestamp when the contact was created
          readOnly: true
          format: date-time
          example: '2026-11-26T09:39:39.244Z'
        timestamp_updated:
          type:
            - 'null'
            - string
          description: >-
            Timestamp when the contact was last updated, or null when never
            updated
          readOnly: true
          format: date-time
          example: '2026-11-26T09:39:39.244Z'
      required:
        - id
        - workspace_id
        - email
        - first_name
        - last_name
        - custom_attributes
        - tag_ids
        - group_ids
        - consent_status
        - consent_updated_at
        - consent_source
        - delivery_status
        - origin
        - timestamp_created
        - timestamp_updated
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer

````

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