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

# Poll a contact research (Data)

> Fetches the result of a `/data/contacts/research` request by its `requestId`. The body is always
`{ type: 'contact-result', data, meta }` and `meta.status` tells where the request stands:
`researching` while the run has not finished (`data` is empty and `meta` echoes the request),
`completed`, `partial` or `failed` once it has (the same body the callback receives), and `not-found`
when no request with this id is known to the caller (never made, or expired). Results expire 7 days
after the request; that retention is subject to change at any time. A run that cannot report a result
still ends: a job that died on the queue is recorded as `failed` with `meta.error.code` `research-aborted`,
and a request still `researching` 15 minutes after it was accepted is served as `failed` with
`research-timed-out` (`createdAt` and `input` kept). `research-timed-out` is final: a request that did
not start within the timeout is failed and never charged, and results are never delivered after it.
Polling is free of credits.

Once a request has finished, its record also carries the outcome of the callback delivery in
`meta.callback` (whether it was delivered, after how many attempts, and the last error when not).
Polling is rate limited at 100 requests per second per organization; a 429 response carries the
`X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` headers.




## OpenAPI

````yaml /v2-openapi.json get /data/contacts/research/poll
openapi: 3.0.0
info:
  title: Seamless API
  description: >-
    Search and research Seamless.AI contacts and companies, and work with the
    records saved to your organization. Authentication, rate limits, and credits
    are covered at https://docs.seamless.ai.


    Public API v2 is in beta. Every v2 endpoint returns 403 until Seamless
    enables v2 for your organization; contact your Account Executive or support
    for access.


    [Privacy Policy](https://seamless.ai/policies/privacy-policy)
  version: 1.0.0
  termsOfService: https://seamless.ai/policies/terms-of-use
servers:
  - url: https://api.seamless.ai/api/client/v2
    description: Seamless API
security: []
tags: []
paths:
  /data/contacts/research/poll:
    get:
      tags:
        - Contact Research
      summary: Poll a contact research (Data)
      description: >
        Fetches the result of a `/data/contacts/research` request by its
        `requestId`. The body is always

        `{ type: 'contact-result', data, meta }` and `meta.status` tells where
        the request stands:

        `researching` while the run has not finished (`data` is empty and `meta`
        echoes the request),

        `completed`, `partial` or `failed` once it has (the same body the
        callback receives), and `not-found`

        when no request with this id is known to the caller (never made, or
        expired). Results expire 7 days

        after the request; that retention is subject to change at any time. A
        run that cannot report a result

        still ends: a job that died on the queue is recorded as `failed` with
        `meta.error.code` `research-aborted`,

        and a request still `researching` 15 minutes after it was accepted is
        served as `failed` with

        `research-timed-out` (`createdAt` and `input` kept).
        `research-timed-out` is final: a request that did

        not start within the timeout is failed and never charged, and results
        are never delivered after it.

        Polling is free of credits.


        Once a request has finished, its record also carries the outcome of the
        callback delivery in

        `meta.callback` (whether it was delivered, after how many attempts, and
        the last error when not).

        Polling is rate limited at 100 requests per second per organization; a
        429 response carries the

        `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`
        headers.
      operationId: pollContactResearchData
      parameters:
        - name: requestId
          required: true
          in: query
          description: >-
            The `requestId` returned by the 202 response of
            `/data/contacts/research`
          example: 6Ei5iKuSHzJXvqjVPWiZ_
          schema:
            type: string
            maxLength: 64
            pattern: ^[A-Za-z0-9_.:-]+$
      responses:
        '200':
          description: >-
            The request's record; `meta.status` is `researching`, `completed`,
            `partial`, `failed` or `not-found`
          content:
            application/json:
              schema:
                description: >
                  The record of a request, as `meta.status` tells: the result
                  (`completed`, `partial`, `failed`; the same body the

                  callback receives, plus `meta.callback` once the callback was
                  posted), `researching` while the run has not

                  finished, or `not-found` when the caller has no record of the
                  `requestId`. Results expire 7 days after the

                  request; that retention is subject to change at any time.

                  In the rare case a finished run's result could not be stored,
                  the record is `failed` with `meta.error.code`

                  `result-not-stored` and only `requestId`, `version`, `status`
                  and `error` in `meta`; the callback, when one was

                  requested, still carries the full result. A stored record that
                  can no longer be read is served the same way

                  with `meta.error.code` `result-unreadable`. A run that cannot
                  report a result still ends: a job that died

                  before it could finish is recorded as `failed` with
                  `meta.error.code` `research-aborted`, and a request still

                  `researching` 15 minutes after it was accepted is served as
                  `failed` with `research-timed-out`; both keep

                  `createdAt` and `input` in `meta`. `research-timed-out` is
                  final: a request that did not start within the

                  timeout is failed and never charged, and results are never
                  delivered after it.
                oneOf:
                  - type: object
                    description: >
                      The result of a research, posted to `callbackUrl` once the
                      run finished and served by `/data/contacts/research/poll`

                      for 7 days after the request (that retention is subject to
                      change at any time). `data.contact` describes the person,

                      `meta` the run.
                    required:
                      - type
                      - data
                      - meta
                    properties:
                      type:
                        type: string
                        enum:
                          - contact-result
                      data:
                        type: object
                        required:
                          - contact
                        properties:
                          contact:
                            type: object
                            nullable: true
                            description: >-
                              Null on a failure before the identity resolved; on
                              a failure after it, the identity basics only
                            allOf:
                              - type: object
                                description: >-
                                  The researched contact. The identity basics
                                  (name, `title`, `company.name` and
                                  `company.domain`) are always present; the
                                  other blocks follow the requested `fields` and
                                  are missing on a `failed` run. When the
                                  contact is matched in our data, `firstName`,
                                  `middleName`, `lastName` and `fullName` are
                                  the matched profile's, whatever spelling or
                                  order the request used; the name you sent is
                                  returned in `fullNameOriginal`.
                                required:
                                  - firstName
                                  - middleName
                                  - lastName
                                  - fullName
                                  - fullNameOriginal
                                  - title
                                  - company
                                properties:
                                  firstName:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The matched profile's first name; the
                                      resolved name's when the contact was not
                                      matched in our data
                                    example: Jane
                                  middleName:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The golden profile's middle name; null
                                      when no profile was read or it has none
                                    example: Quinn
                                  lastName:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The matched profile's last name; the
                                      resolved name's when the contact was not
                                      matched in our data
                                    example: Doe
                                  fullName:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The matched profile's name as stored; the
                                      name the request resolved to when the
                                      contact was not matched in our data
                                    example: Jane Quinn Doe
                                  fullNameOriginal:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The name the request carried, as one
                                      string — `contactName`, or `firstName` and
                                      `lastName` joined with a space; null when
                                      the request carried no name (a
                                      `searchResultId`, an email, a phone or a
                                      LinkedIn URL alone)
                                    example: Jane Doe
                                  title:
                                    type: string
                                    nullable: true
                                    example: CTO
                                  department:
                                    type: string
                                    nullable: true
                                    description: With the `title` field
                                  seniority:
                                    type: string
                                    nullable: true
                                    description: With the `title` field
                                  titleStartedAt:
                                    type: string
                                    nullable: true
                                    description: With the `jobHistory` field
                                  startedAtCurrentCompany:
                                    type: string
                                    nullable: true
                                    description: With the `jobHistory` field
                                  careerStartedAt:
                                    type: string
                                    nullable: true
                                    description: With the `jobHistory` field
                                  timeAtRole:
                                    type: string
                                    nullable: true
                                    description: >-
                                      With the `jobHistory` field; time in the
                                      current role
                                    example: 1 Yr 2 Mo
                                  timeAtCompany:
                                    type: string
                                    nullable: true
                                    description: >-
                                      With the `jobHistory` field; time at the
                                      current company
                                    example: 3 Yrs 4 Mo
                                  jobHistory:
                                    type: array
                                    description: With the `jobHistory` field
                                    items:
                                      type: object
                                      description: >-
                                        A past role; the current role is
                                        described by `title`, `titleStartedAt`
                                        and `startedAtCurrentCompany`.
                                      properties:
                                        companyName:
                                          type: string
                                          nullable: true
                                          example: Former Co
                                        title:
                                          type: string
                                          nullable: true
                                          example: Engineer
                                        startedAt:
                                          type: string
                                          nullable: true
                                          example: '2018-01-01'
                                        endedAt:
                                          type: string
                                          example: '2021-12-31'
                                  former:
                                    type: object
                                    nullable: true
                                    description: >-
                                      With the `jobHistory` field; the indexed
                                      former role
                                    properties:
                                      companyName:
                                        type: string
                                        nullable: true
                                      title:
                                        type: string
                                        nullable: true
                                      startedAt:
                                        type: string
                                        nullable: true
                                      endedAt:
                                        type: string
                                        nullable: true
                                  jobChangeAlert:
                                    type: string
                                    nullable: true
                                    description: >-
                                      With the `jobHistory` field; `New Hire` or
                                      `New Promotion` when the current role is a
                                      recent change
                                  location:
                                    type: object
                                    nullable: true
                                    description: With the `location` field
                                    allOf:
                                      - type: object
                                        description: >-
                                          A contact's or company's location.
                                          Street lines are only known for a
                                          company's registered address; the
                                          timezone fields are derived from the
                                          contact's raw offset.
                                        properties:
                                          city:
                                            type: string
                                            nullable: true
                                            example: Columbus
                                          state:
                                            type: string
                                            nullable: true
                                            example: Ohio
                                          country:
                                            type: string
                                            nullable: true
                                            example: United States
                                          postCode:
                                            type: string
                                            nullable: true
                                            example: '43215'
                                          street1:
                                            type: string
                                            nullable: true
                                            example: 100 Main St
                                          street2:
                                            type: string
                                            nullable: true
                                          street3:
                                            type: string
                                            nullable: true
                                          timezoneRawOffset:
                                            description: UTC offset in hours as indexed
                                            oneOf:
                                              - type: number
                                                nullable: true
                                              - type: string
                                                nullable: true
                                            example: -5
                                          timezone:
                                            type: string
                                            nullable: true
                                            description: Timezone name for the offset
                                            example: Eastern Time (US & Canada)
                                          timezoneAbbr:
                                            type: string
                                            nullable: true
                                            example: EST
                                          localTime:
                                            type: string
                                            nullable: true
                                            description: >-
                                              The contact's current local time, ISO
                                              8601 with the zone's offset
                                            example: '2026-01-01T09:00:00-05:00'
                                  linkedIn:
                                    type: object
                                    description: With the `linkedIn` field
                                    properties:
                                      profileUrl:
                                        type: string
                                        nullable: true
                                      salesNavUrl:
                                        type: string
                                        nullable: true
                                      recruiterUrl:
                                        type: string
                                        nullable: true
                                  company:
                                    type: object
                                    description: >-
                                      The contact's company. `name` and `domain`
                                      are always present; the other properties
                                      follow the requested `company` and
                                      `companyPhone` fields.
                                    required:
                                      - name
                                      - domain
                                    properties:
                                      name:
                                        type: string
                                        nullable: true
                                        example: Acme Corp
                                      domain:
                                        type: string
                                        nullable: true
                                        example: acme.com
                                      description:
                                        type: string
                                        nullable: true
                                      foundedOn:
                                        type: string
                                        nullable: true
                                        example: '1999-04-01'
                                      industries:
                                        type: array
                                        items:
                                          type: string
                                        example:
                                          - Software
                                      employeeCount:
                                        type: integer
                                        nullable: true
                                        example: 250
                                      employeeCountRange:
                                        type: string
                                        nullable: true
                                        description: Public company-size band
                                        example: 201 - 500
                                      annualRevenue:
                                        type: number
                                        nullable: true
                                        example: 25000000
                                      annualRevenueRange:
                                        type: string
                                        nullable: true
                                        example: $10M - $50M
                                      fundingTotal:
                                        type: number
                                        nullable: true
                                      latestFundingDate:
                                        type: string
                                        nullable: true
                                      latestFundingClassifications:
                                        type: array
                                        items:
                                          type: string
                                      sicCode:
                                        type: string
                                        nullable: true
                                      naicsCode:
                                        type: string
                                        nullable: true
                                      linkedInUrl:
                                        type: string
                                        nullable: true
                                        description: Company LinkedIn page URL
                                      linkedInId:
                                        type: string
                                        nullable: true
                                      type:
                                        type: string
                                        nullable: true
                                        example: Privately Held
                                      ticker:
                                        type: string
                                        nullable: true
                                        description: Stock ticker of a public company
                                      location:
                                        type: object
                                        description: >-
                                          A contact's or company's location.
                                          Street lines are only known for a
                                          company's registered address; the
                                          timezone fields are derived from the
                                          contact's raw offset.
                                        properties:
                                          city:
                                            type: string
                                            nullable: true
                                            example: Columbus
                                          state:
                                            type: string
                                            nullable: true
                                            example: Ohio
                                          country:
                                            type: string
                                            nullable: true
                                            example: United States
                                          postCode:
                                            type: string
                                            nullable: true
                                            example: '43215'
                                          street1:
                                            type: string
                                            nullable: true
                                            example: 100 Main St
                                          street2:
                                            type: string
                                            nullable: true
                                          street3:
                                            type: string
                                            nullable: true
                                          timezoneRawOffset:
                                            description: UTC offset in hours as indexed
                                            oneOf:
                                              - type: number
                                                nullable: true
                                              - type: string
                                                nullable: true
                                            example: -5
                                          timezone:
                                            type: string
                                            nullable: true
                                            description: Timezone name for the offset
                                            example: Eastern Time (US & Canada)
                                          timezoneAbbr:
                                            type: string
                                            nullable: true
                                            example: EST
                                          localTime:
                                            type: string
                                            nullable: true
                                            description: >-
                                              The contact's current local time, ISO
                                              8601 with the zone's offset
                                            example: '2026-01-01T09:00:00-05:00'
                                      intel:
                                        type: object
                                        description: >-
                                          Pitch-intelligence links (news, filings,
                                          reviews, …) keyed by name
                                        additionalProperties:
                                          type: string
                                      phones:
                                        type: array
                                        description: >-
                                          With the `companyPhone` field; the
                                          numbers most seen for the company first,
                                          at most 10
                                        maxItems: 10
                                        items:
                                          type: object
                                          required:
                                            - number
                                            - formatted
                                            - type
                                            - confidence
                                          properties:
                                            number:
                                              type: string
                                              description: >-
                                                Digits only; a North American number
                                                without its leading country code `1`
                                              example: '6145550100'
                                            formatted:
                                              type: string
                                              description: >-
                                                `614.555.0100` for a North American
                                                number; other numbers as digits
                                              example: 614.555.0100
                                            type:
                                              type: string
                                              enum:
                                                - company
                                            confidence:
                                              type: integer
                                              nullable: true
                                              description: >-
                                                How well the number is attested, 0..99.
                                                The most seen phone number of the
                                                company scores 70 to 99 by its sightings
                                                and every other number in proportion to
                                                it. A `work` or `company` number of the
                                                contact's own counts as one more
                                                sighting of its number, so a number
                                                listed here and in the contact's
                                                `phones` carries the same confidence in
                                                both; null when the company's numbers
                                                cannot be scored
                                              example: 96
                                  emails:
                                    type: array
                                    description: >-
                                      With the `email` field; best first, at
                                      most 3 business addresses and 1 personal
                                      address (`isPersonal`)
                                    maxItems: 4
                                    items:
                                      type: object
                                      description: >-
                                        A deliverable email of the contact.
                                        Addresses that failed verification are
                                        not returned.
                                      required:
                                        - email
                                        - status
                                        - confidence
                                        - isPersonal
                                      properties:
                                        email:
                                          type: string
                                          example: jane@acme.com
                                        status:
                                          type: string
                                          description: Verification status
                                          enum:
                                            - valid
                                            - accept-all
                                            - unknown
                                        confidence:
                                          type: integer
                                          nullable: true
                                          description: >-
                                            0..100 verification-based score (the
                                            app's Total AI); null when the address
                                            could not be scored
                                          example: 97
                                        isPersonal:
                                          type: boolean
                                          description: True on a personal (public) email domain
                                          example: false
                                  phones:
                                    type: array
                                    description: >-
                                      With the `phone` field; at most 10 numbers
                                      of the contact's own, mobile first, then
                                      at most 10 `work` or `company` numbers. A
                                      `work` or `company` number is included
                                      only when it is among the ten most seen
                                      phone numbers of the company. A number of
                                      another type that is the company's most
                                      seen phone number is not included; it is
                                      the company's (`company.phones`, with the
                                      `companyPhone` field)
                                    maxItems: 20
                                    items:
                                      type: object
                                      description: >-
                                        A phone of the contact. Numbers of a
                                        type your organization is charged for
                                        come first, mobile numbers first among
                                        them.
                                      required:
                                        - number
                                        - formatted
                                        - type
                                        - confidence
                                      properties:
                                        number:
                                          type: string
                                          description: >-
                                            Digits only; a North American number
                                            without its leading country code `1`
                                          example: '6145550123'
                                        formatted:
                                          type: string
                                          description: >-
                                            `614.555.0123` for a North American
                                            number; other numbers as digits
                                          example: 614.555.0123
                                        type:
                                          type: string
                                          nullable: true
                                          enum:
                                            - mobile
                                            - pager
                                            - main
                                            - work
                                            - fax
                                            - company
                                          description: >-
                                            The stored label; `company` is a company
                                            line stored for the contact; null when
                                            unknown
                                          example: mobile
                                        confidence:
                                          type: integer
                                          nullable: true
                                          description: >-
                                            How well the number is attested, 0..100.
                                            The most sighted number of the contact
                                            scores 70 to 99 by its sightings and
                                            every other number in proportion to it;
                                            a number pinned as the contact's in our
                                            data scores 100; a `work` or `company`
                                            number is scored among the company's own
                                            phone numbers instead, 95 to 99 when
                                            none of them is seen more often and
                                            lower in proportion otherwise; null for
                                            a fax or pager number and for a number
                                            you sent in the request that research
                                            did not confirm
                                          example: 99
                                        isDnc:
                                          type: boolean
                                          nullable: true
                                          description: >-
                                            True when the number is on a do-not-call
                                            list; null when the list could not be
                                            read for the number. Present only when
                                            your account has the do-not-call
                                            feature; without it the list is not
                                            consulted
                                          example: false
                                        carrier:
                                          type: string
                                          description: >-
                                            Carrier serving the number; present only
                                            when a data provider named it
                                          example: Verizon Wireless
                      meta:
                        type: object
                        description: Everything about the run rather than the person.
                        required:
                          - requestId
                          - version
                          - status
                          - input
                          - fields
                          - credits
                          - jobChange
                          - timing
                        properties:
                          requestId:
                            type: string
                            description: >-
                              The id returned by the 202 response (the caller's
                              `requestId` when one was sent)
                            example: 6Ei5iKuSHzJXvqjVPWiZ_
                          version:
                            type: integer
                            example: 2
                          status:
                            type: string
                            description: >-
                              `completed` when every researched field was looked
                              up without error, `partial` when some failed,
                              `failed` when the run did not reach the lookups
                            enum:
                              - completed
                              - partial
                              - failed
                          input:
                            type: object
                            description: >
                              The identity and hints as the research read them,
                              empty values dropped, plus `fields` as you sent
                              it.

                              Identity keys are normalized: `searchResultId`,
                              `firstName`, `lastName`, `fullName`,

                              `companyName`, `domain` (from `domain` or
                              `companyWebsite`), `emails`, `phones` (the usable
                              entries of the

                              single and list properties) and `liProfileUrl`;
                              hints are `title`, `city`, `state` and `country`.
                            additionalProperties: true
                            properties:
                              fields:
                                type: object
                                description: The `fields` object of the request, as sent
                                additionalProperties: true
                          wasFound:
                            type: boolean
                            description: >
                              Whether the person was found: true when the
                              contact matched our data, or a deliverable
                              business email

                              or a chargeable phone (a contact phone of a type
                              the organization pays for) was resolved for them;
                              false

                              when the run completed with neither. Absent on a
                              `failed` run, which carries `error` instead. What
                              was

                              charged is in `credits.charged`.
                          error:
                            type: object
                            description: >
                              Why the run failed; only on a `failed` run. Only
                              an error the research raised on purpose is

                              reported with its own `code`, `message` and
                              `status`: `user-not-found`, `org-not-found` (the
                              caller

                              has no primary organization), `company-not-found`,
                              `missing-name-and-company`, `missing-last-name`,

                              `contact-not-found-by-search-result-id`,
                              `contact-not-found-by-liprofileurl`,

                              `contact-not-found-by-email`, a credit check that
                              failed (`noCredits`, `insufficientCredits`,

                              `userCreditThrottleExceeded`,
                              `licenseCreditThrottleExceeded`), or `timeout`
                              (status 504,

                              message `The research timed out.`). Anything else
                              — a data provider, database or internal failure —

                              is reported as the fixed `internal-error` with
                              status 500 and a generic message; its detail is
                              kept

                              in Seamless logs and never sent. The poll route
                              adds `research-aborted`, `research-timed-out`,

                              `result-not-stored` and `result-unreadable` (see
                              the poll response).
                            required:
                              - code
                              - message
                              - status
                            properties:
                              code:
                                type: string
                                example: timeout
                              message:
                                type: string
                                description: >-
                                  A fixed sentence per code; never names a step,
                                  a budget or a vendor
                                example: The research timed out.
                              status:
                                type: integer
                                description: >-
                                  HTTP-style status of the failure (500 for
                                  `internal-error`)
                                example: 504
                          fields:
                            type: object
                            required:
                              - requested
                              - resolved
                              - skipped
                              - failed
                            properties:
                              requested:
                                type: array
                                items:
                                  type: string
                              resolved:
                                type: array
                                description: >-
                                  Researched fields whose lookup finished
                                  without error, whether or not it found
                                  anything
                                items:
                                  type: string
                              skipped:
                                type: array
                                description: >
                                  Requested paid fields (`email`, `phone`) not
                                  charged and not researched; variable credits
                                  only, nothing is

                                  skipped under flat pricing: fields the
                                  organization has disabled, every requested
                                  paid field when an

                                  organization locked to full-contact finds
                                  asked for a partial one, and a field carrying
                                  no price.
                                items:
                                  type: string
                              failed:
                                type: array
                                items:
                                  type: object
                                  required:
                                    - field
                                    - code
                                  properties:
                                    field:
                                      type: string
                                    code:
                                      type: string
                                      description: >-
                                        The failure's error code, under the same
                                        rule as `error.code` (`internal-error`
                                        unless the research raised the error on
                                        purpose)
                          credits:
                            type: object
                            required:
                              - charged
                            properties:
                              charged:
                                type: number
                                description: >-
                                  Net credits the request cost, after refunds
                                  for what was not delivered; 0 on a failed run
                                example: 1
                          jobChange:
                            type: object
                            description: >
                              Whether the contact was found by matching the
                              company you sent against their job history, i.e.
                              that

                              company is a former employer, and whether the
                              research followed them to their current employer.

                              Both are false when the match was direct or no
                              contact matched.
                            required:
                              - found
                              - applied
                            properties:
                              found:
                                type: boolean
                                description: >-
                                  True when the company you sent is a former
                                  employer of the contact
                              applied:
                                type: boolean
                                description: >
                                  True when the research followed the contact to
                                  their current employer: that company's name
                                  and

                                  domain were used for the lookups and `contact`
                                  reflects it, while the company you sent was a
                                  former

                                  employer and is not researched. False when
                                  `found` is false, or when the current employer
                                  is not known.
                          timing:
                            type: object
                            required:
                              - startedAt
                              - completedAt
                              - durationMs
                            properties:
                              startedAt:
                                type: string
                                format: date-time
                              completedAt:
                                type: string
                                format: date-time
                              durationMs:
                                type: integer
                          callback:
                            type: object
                            description: >
                              How the delivery to `callbackUrl` went. Only on
                              the polled record, and only once the result has
                              been posted:

                              the posted body cannot carry it, and a request
                              without `callbackUrl` never has it. The research
                              and its charge

                              do not depend on it; a result whose callback
                              failed is still the full result.
                            required:
                              - delivered
                              - attempts
                            properties:
                              delivered:
                                type: boolean
                                description: >-
                                  True when the receiver acknowledged the post
                                  with a 2xx
                              attempts:
                                type: integer
                                description: Posts made, retries included
                              error:
                                type: object
                                description: The last failure, when not delivered
                                required:
                                  - code
                                  - message
                                properties:
                                  code:
                                    type: string
                                    description: >
                                      `http-error` when the receiver answered
                                      with an error status,
                                      `callback-redirect-blocked` when it
                                      answered

                                      with a redirect, `callback-url-blocked` or
                                      `callback-address-blocked` when the URL or
                                      an address its host

                                      resolved to is local, private or reserved,
                                      `callback-signing-unavailable` when
                                      nothing was posted because

                                      the matching webhook's configuration could
                                      not be read, `user-not-found` when nothing
                                      was posted because

                                      the requesting user no longer exists, a
                                      network error code (`ECONNREFUSED`,
                                      `ECONNABORTED`, `ETIMEDOUT`, …)

                                      when the post did not get an answer,
                                      `unknown` otherwise
                                    example: http-error
                                  status:
                                    type: integer
                                    description: HTTP status, when the receiver answered
                                    example: 503
                                  message:
                                    type: string
                                    description: >-
                                      At most 500 characters; phone numbers are
                                      masked
                  - type: object
                    description: >-
                      Served by `/data/contacts/research/poll` while the run has
                      not finished; `data` is empty and `meta` echoes the
                      request.
                    required:
                      - type
                      - data
                      - meta
                    properties:
                      type:
                        type: string
                        enum:
                          - contact-result
                      data:
                        type: object
                        description: Empty until the run finished
                        maxProperties: 0
                      meta:
                        type: object
                        required:
                          - requestId
                          - version
                          - status
                          - createdAt
                          - input
                        properties:
                          requestId:
                            type: string
                            example: 6Ei5iKuSHzJXvqjVPWiZ_
                          version:
                            type: integer
                            example: 2
                          status:
                            type: string
                            enum:
                              - researching
                          createdAt:
                            type: string
                            format: date-time
                            description: >-
                              When the request was accepted; the result expires
                              7 days later (subject to change at any time)
                          input:
                            type: object
                            description: >
                              The identity and hints as the research read them,
                              empty values dropped, plus `fields` as you sent
                              it.

                              Identity keys are normalized: `searchResultId`,
                              `firstName`, `lastName`, `fullName`,

                              `companyName`, `domain` (from `domain` or
                              `companyWebsite`), `emails`, `phones` (the usable
                              entries of the

                              single and list properties) and `liProfileUrl`;
                              hints are `title`, `city`, `state` and `country`.
                            additionalProperties: true
                            properties:
                              fields:
                                type: object
                                description: The `fields` object of the request, as sent
                                additionalProperties: true
                  - type: object
                    description: >-
                      Served by `/data/contacts/research/poll` when the caller
                      has no record of the `requestId`: never requested, or
                      expired.
                    required:
                      - type
                      - data
                      - meta
                    properties:
                      type:
                        type: string
                        enum:
                          - contact-result
                      data:
                        type: object
                        description: Always empty
                        maxProperties: 0
                      meta:
                        type: object
                        required:
                          - requestId
                          - version
                          - status
                          - error
                        properties:
                          requestId:
                            type: string
                            description: The polled `requestId`
                            example: 6Ei5iKuSHzJXvqjVPWiZ_
                          version:
                            type: integer
                            example: 2
                          status:
                            type: string
                            enum:
                              - not-found
                          error:
                            type: object
                            required:
                              - code
                              - message
                              - status
                            properties:
                              code:
                                type: string
                                enum:
                                  - request-not-found
                              message:
                                type: string
                                example: >-
                                  No research was found for this requestId;
                                  results expire 7 days after the request.
                              status:
                                type: integer
                                enum:
                                  - 404
                  - type: object
                    description: >
                      Served by `/data/contacts/research/poll` for a request
                      that ended without a result it can serve: a job that died

                      (`research-aborted`) or overran (`research-timed-out`),
                      both keeping `createdAt` and `input`, or a result that

                      could not be stored (`result-not-stored`) or read back
                      (`result-unreadable`).
                    required:
                      - type
                      - data
                      - meta
                    properties:
                      type:
                        type: string
                        enum:
                          - contact-result
                      data:
                        type: object
                        description: Always empty
                        maxProperties: 0
                      meta:
                        type: object
                        required:
                          - requestId
                          - version
                          - status
                          - error
                        properties:
                          requestId:
                            type: string
                            example: 6Ei5iKuSHzJXvqjVPWiZ_
                          version:
                            type: integer
                            example: 2
                          status:
                            type: string
                            enum:
                              - failed
                          createdAt:
                            type: string
                            format: date-time
                          input:
                            type: object
                            description: >
                              The identity and hints as the research read them,
                              empty values dropped, plus `fields` as you sent
                              it.

                              Identity keys are normalized: `searchResultId`,
                              `firstName`, `lastName`, `fullName`,

                              `companyName`, `domain` (from `domain` or
                              `companyWebsite`), `emails`, `phones` (the usable
                              entries of the

                              single and list properties) and `liProfileUrl`;
                              hints are `title`, `city`, `state` and `country`.
                            additionalProperties: true
                            properties:
                              fields:
                                type: object
                                description: The `fields` object of the request, as sent
                                additionalProperties: true
                          error:
                            type: object
                            required:
                              - code
                              - message
                            properties:
                              code:
                                type: string
                                enum:
                                  - research-aborted
                                  - research-timed-out
                                  - result-not-stored
                                  - result-unreadable
                              message:
                                type: string
        '400':
          description: '`requestId` missing or invalid'
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '403':
          description: >-
            The connection lacks the `publicAPI.v2.all` scope
            (`insufficientScope`), or Public API v2 is not enabled for your
            organization (`noFeatureAccess`)
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '404':
          description: Data research is turned off (code `research-v2-disabled`)
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '422':
          description: No Public API license (`missingApiAccess`)
          content:
            application/json:
              schema:
                description: Insufficient credits or missing license
                type: object
                properties:
                  msg:
                    type: string
                  code:
                    type: string
                  data:
                    type: object
                    properties:
                      productCategory:
                        type: string
                      additionalCreditsNeeded:
                        type: number
                        description: >-
                          Credits missing to cover the whole request. Can be
                          fractional under custom pricing.
        '429':
          description: >-
            Rate limit exceeded (100 polls per second per organization; code
            `rateLimitExceeded`)
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '500':
          description: >-
            Unexpected error. Internal detail is never returned; a failure to
            check the credential carries `code` and a support `reference`
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
      security:
        - OAuth2:
            - publicAPI.v2.all
        - ApiKeyAuth: []
components:
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://login.seamless.ai/oauth/authorize
          tokenUrl: https://api.seamless.ai/api/client/v2/oauth/accessToken
          scopes:
            publicAPI.v2.all: Public API v2
    ApiKeyAuth:
      type: apiKey
      name: Token
      in: header
      description: API key passed via the Token header.

````

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