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

# Get import

Requires a scoped personal key, explicit project selection, and current role authorization. See [Agent imports](/tutorials/agent-imports) for validation, consent, preparation, and recovery.


## OpenAPI

````yaml api-reference/openapi.json GET /imports/{import_id}
openapi: 3.0.1
info:
  title: Sendrealm API
  description: >-
    API for email, push, audience resources, domains, campaign drafts,
    templates, events, topics, and automations
  license:
    name: MIT
  version: 0.3.0
servers:
  - url: https://api.sendrealm.com
security:
  - bearerAuth: []
paths:
  /imports/{import_id}:
    get:
      tags:
        - Agent imports
      summary: Get import
      operationId: imports_get
      parameters:
        - name: X-Sendrealm-Project-Id
          in: header
          required: true
          schema:
            type: string
            format: uuid
        - name: import_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  data:
                    $ref: '#/components/schemas/McpImportJob'
                additionalProperties: false
                x-sendrealm-mcp-contract: true
                required:
                  - status
                  - data
components:
  schemas:
    McpImportJob:
      type: object
      properties:
        id:
          type: string
          format: uuid
        project_id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - contacts
            - properties
            - audiences
            - memberships
            - topic_subscriptions
        format:
          type: string
          enum:
            - csv
            - xlsx
            - json
            - ndjson
            - batches
        status:
          type: string
        total_rows:
          type: integer
          minimum: 0
        validated_rows:
          type: integer
          minimum: 0
        applied_rows:
          type: integer
          minimum: 0
        failed_rows:
          type: integer
          minimum: 0
        skipped_rows:
          type: integer
          minimum: 0
        automation_effects:
          type: string
          enum:
            - suppress
            - trigger
        error_code:
          type: string
          nullable: true
        expires_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        poll_after_ms:
          type: integer
        upload_handoff:
          type: object
          properties:
            url:
              type: string
              format: uri
            authentication_required:
              type: boolean
              enum:
                - true
            expires_at:
              type: string
              format: date-time
          required:
            - url
            - authentication_required
            - expires_at
          additionalProperties: false
          description: >-
            Authenticated, project-scoped upload handoff for clients unable to
            supply file bytes. Inspect completion with imports_get.
      additionalProperties: false
      x-sendrealm-mcp-contract: true
      required:
        - id
        - project_id
        - kind
        - format
        - status
        - total_rows
        - validated_rows
        - applied_rows
        - failed_rows
        - skipped_rows
        - automation_effects
        - expires_at
        - created_at
        - updated_at
        - poll_after_ms
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Integration key for backend workloads, or a scoped personal key
        (sr_user_) for account discovery and supported project operations. MCP
        accepts only personal keys.

````

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