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

# Get Import Status

> Poll import progress + results. DB-only — activities write to the job
row directly (same convention as enrich-status).

Polls the `contact_imports` job row directly — the Temporal activities patch progress into the row as they run, so this is a plain DB read with no Temporal query involved. The `import_id` path parameter is the same value returned as `import_id` from [Start an import](/api-reference/contacts/import-start) — also the job's `workflow_id`.

### Auth

Requires a CRM read [scope](/authentication#scopes) and an active organization on the token. Any of `contacts:read`, `deals:read`, `companies:read`, or `activities:read` qualifies, as does any `*:manage` scope — manage implies read.

### Response

| Field          | Type                          | Description                                                                                                                                                                                             |
| -------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `status`       | `string`                      | `pending`, `running`, `completed`, or `failed`.                                                                                                                                                         |
| `progress`     | `object`                      | Workflow-reported progress detail; shape varies, `{}` before any progress is reported.                                                                                                                  |
| `imported`     | `integer`                     | Rows successfully inserted so far.                                                                                                                                                                      |
| `skipped`      | `integer`                     | Rows dropped (duplicate email, no identity field, insert failure).                                                                                                                                      |
| `total`        | `integer`                     | `imported + skipped` — computed, not a raw column.                                                                                                                                                      |
| `result_url`   | `string` \| `null`            | Presigned download URL (7-day expiry) for the annotated result CSV — the original file with `import_status`/`import_reason` columns appended, once the run reaches a terminal state. `null` until then. |
| `error`        | `string` \| `null`            | Set if the job failed outright (e.g. workflow failed to start).                                                                                                                                         |
| `filename`     | `string` \| `null`            | Original filename.                                                                                                                                                                                      |
| `completed_at` | `string` (ISO 8601) \| `null` |                                                                                                                                                                                                         |

### Errors

| Status | Cause                                                    |
| ------ | -------------------------------------------------------- |
| `404`  | No import job with this ID in the caller's organization. |


## OpenAPI

````yaml GET /contacts/imports/{import_id}
openapi: 3.1.0
info:
  title: anycrm-api
  version: 0.0.1
servers: []
security: []
tags:
  - name: Customer Intelligence
    description: >-
      Company research and ICP-fit scoring — create a research run, track its
      progress, and read back scored companies as leads.
  - name: Outreach
    description: >-
      The cold-email management console — domains, mailboxes, and campaigns — as
      a thin control plane over the SalesForge stack.
  - name: AnyCard
    description: >-
      Authenticated CRUD for AnyCard, the org's digital business-card /
      lead-capture product.
  - name: AnyCard Events
    description: >-
      Event-attribution analytics for AnyCard — which captured leads converted,
      broken down by source, owner, and deal.
  - name: AnyCard Share Links
    description: >-
      Unauthenticated endpoints reached by anyone who scans a QR code or opens a
      shared AnyCard link.
  - name: AI
    description: >-
      A streaming (SSE) AI chat endpoint with account-commit actions it can take
      on the caller's behalf.
  - name: Analytics Assistant
    description: >-
      The natural-language analytics assistant — a guarded text-to-SQL loop
      (SSE) that answers ad-hoc questions over the org's CRM data as a
      least-privilege, read-only database role.
  - name: Account Readiness
    description: >-
      Account Readiness Profiles — AI-scored signals on whether an account is
      ready for outreach or expansion, computed via a Temporal workflow.
  - name: Integrations
    description: >-
      Pipedream Connect — issuing connect tokens and managing the org's
      connected third-party accounts.
  - name: Feedback
    description: >-
      User-submitted platform feedback (bug reports, feature requests) — global,
      not scoped to one organization.
  - name: Public Media
    description: >-
      Unauthenticated image reads for publicly-embeddable assets (card photos,
      inline email images) — allowlisted by key shape; everything else in the
      storage bucket stays private.
  - name: Service Health
    description: Service liveness.
paths:
  /contacts/imports/{import_id}:
    get:
      tags:
        - Contacts
      summary: Contact Import Status
      description: |-
        Poll import progress + results. DB-only — activities write to the job
        row directly (same convention as enrich-status).
      operationId: contact_import_status_contacts_imports__import_id__get
      parameters:
        - name: import_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              The import job's id, returned as import_id from Start an import
              (also its Temporal workflow_id).
            title: Import Id
          description: >-
            The import job's id, returned as import_id from Start an import
            (also its Temporal workflow_id).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Contact Import Status Contacts Imports  Import Id 
                  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````