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

# List subscriber group imports

> Lists the CSV imports of one subscriber group. Use it to find the import for an upload by its `file_id`. This list pages with `starting_after` and `next_starting_after`.


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



## OpenAPI

````yaml https://api.instantly.ai/openapi/api_v2.json get /api/v2/email-marketing/subscriber-group-imports
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: Analytics
    description: Endpoints related to analytics
    x-group: Analytics
  - name: OAuth
    description: >-
      OAuth authentication endpoints for connecting Google and Microsoft email
      accounts
    x-group: OAuth
  - name: Account
    description: An email account that can be used to send campaigns
    x-group: Account
  - name: Campaign
    description: A campaign that can be sent to a list of recipients
    x-group: Campaign
  - name: Email
    description: >-
      A campaign email, a reply, a manually sent email, or any other email
      that's visible in the Unibox
    x-group: Email
  - name: EmailVerification
    description: A single email verification
    x-group: Email Verification
  - name: LeadList
    description: A list used to store leads
    x-group: Lead List
  - name: InboxPlacementTest
    description: An inbox placement test
    x-group: Inbox Placement Test
  - name: InboxPlacementAnalytics
    description: Analytics data for individual emails in inbox placement tests
    x-group: Inbox Placement Analytics
  - name: InboxPlacementBlacklistAndSpamAssassinReport
    description: Report data for an inbox placement test
    x-group: Inbox Placement Blacklist And SpamAssassin Report
  - name: AIInboxManager
    description: An AI Inbox Manager agent
    x-group: AI Inbox Manager
  - name: AIDeliverabilityAgent
    description: An AI Deliverability Agent
    x-group: AI Deliverability Agent
  - name: AILeadFinderAgent
    description: An AI Lead Finder Agent
    x-group: AI Lead Finder Agent
  - name: LocalBusiness
    description: >-
      A local business found by the Local businesses search. Search businesses
      by category and location, then convert them into leads with a verified
      email in a lead list or a campaign.
    x-group: Local Business
  - name: Creator
    description: >-
      A social media creator found by the Creators search. Search creators by
      platform, niche, audience and location, then convert them into leads with
      their email.
    x-group: Creator
  - name: APIKey
    description: API Key
    x-group: API Key
  - name: AccountCampaignMapping
    description: Account Campaign Mapping
    x-group: Account Campaign Mapping
  - name: Lead
    description: A lead entity representing an individual lead
    x-group: Lead
  - name: BackgroundJob
    description: A background job that can be used to perform long-running tasks
    x-group: Background Job
  - name: CustomTag
    description: >-
      A custom tag for organizing and categorizing accounts and campaigns. You
      can use them as filters in apis that list accounts and campaigns.
    x-group: Custom Tag
  - name: CustomTagMapping
    description: >-
      This entity represents a tag being assigned to a specific campaign or
      email account. When an email account is assigned a tag, a new custom tag
      mapping entry is created, which connects the tag (`tag_id` field) with the
      email account (`resource_id` field). You can use it to see which tag si
      connected to which resource.
    x-group: Custom Tag Mapping
  - name: BlockListEntry
    description: A blocked email or domain
    x-group: Block List Entry
  - name: LeadLabel
    description: A custom label for categorizing and managing leads
    x-group: Lead Label
  - name: Workspace
    description: A workspace entity representing a workspace
    x-group: Workspace
  - name: Workflow
    description: >-
      Defines an automation workflow with its configuration, status, and
      associated meta data.
    x-group: Workflow
  - name: SuperSearchEnrichment
    description: >-
      An enrichment can take different forms, such as email enrichment or
      LinkedIn enrichment. Leads may be imported from SuperSearch using the
      dedicated endpoint, or enriched directly within a list or campaign by
      attaching an enrichment to it.
    x-group: SuperSearch Enrichment
  - name: WorkspaceGroupMember
    description: >-
      A member of a workspace group. You can use the endpoints within this
      entity to manage the members of a workspace group.
    x-group: Workspace Group Member
  - name: WorkspaceMember
    description: A member of a workspace with associated user details
    x-group: Workspace Member
  - name: CampaignSubsequence
    description: A subsequence entity representing a follow-up sequence
    x-group: Campaign Subsequence
  - name: AuditLog
    description: Audit log records for tracking system activities
    x-group: Audit Log
  - name: AISalesAgent
    description: >-
      An AI Sales Development Representative that autonomously manages outreach
      campaigns
    x-group: AI Sales Agent
  - name: Webhook
    description: A webhook subscription for receiving event notifications
    x-group: Webhook
  - name: WebhookEvent
    description: A webhook event that was sent or attempted to be sent
    x-group: Webhook Event
  - name: DFYEmailAccountOrder
    description: A Done-For-You email account order
    x-group: DFY Email Account Order
  - name: DomainForwarding
    description: Web forwarding configuration for a domain ordered through Instantly
    x-group: Domain Forwarding
  - name: CustomPromptTemplate
    description: Custom prompt templates for creating custom prompts
    x-group: Custom Prompt Template
  - name: SalesFlow
    description: >-
      Manages how sales users view and interact with campaign and lead lists
      within the sales flow.
    x-group: Sales Flow
  - name: EmailTemplate
    description: A campaign email template
    x-group: Email Template
  - name: WorkspaceBilling
    description: Workspace Billing
    x-group: Workspace Billing
  - name: CRMActions
    description: CRM related actions
    x-group: CRM Actions
  - name: SubscriberGroup
    description: >-
      A group of email marketing subscribers. 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: 'Inbound & Lifecycle: Subscriber Group'
  - name: SubscriberGroupImport
    description: >-
      A CSV import into a subscriber group. Emails already in the group are
      skipped, not updated. 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: 'Inbound & Lifecycle: Subscriber Group Import'
  - name: Subscriber
    description: >-
      An individual contact within a subscriber group. 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: 'Inbound & Lifecycle: Subscriber'
  - 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: 'Inbound & Lifecycle: 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: 'Inbound & Lifecycle: 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: 'Inbound & Lifecycle: 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: 'Inbound & Lifecycle: 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: 'Inbound & Lifecycle: 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: 'Inbound & Lifecycle: 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: 'Inbound & Lifecycle: Template Asset'
  - name: EmailMetrics
    description: >-
      Aggregated email marketing metrics including totals, time-series data, and
      metadata.
    x-group: 'Inbound & Lifecycle: Email Metrics'
  - name: Conversion
    description: >-
      A conversion event received for a person, credited to the emails they got
      before it.
    x-group: 'Inbound & Lifecycle: Conversion'
  - name: EngageItem
    description: >-
      A unified Engage item representing a campaign, AI agent, automation
      workflow, broadcast, or journey.
    x-group: Engage Item
paths:
  /api/v2/email-marketing/subscriber-group-imports:
    get:
      tags:
        - SubscriberGroupImport
      summary: List subscriber group imports
      description: >-
        Lists the CSV imports of one subscriber group. Use it to find the import
        for an upload by its `file_id`. This list pages with `starting_after`
        and `next_starting_after`.



        Requires one of the following scopes:
        `email_marketing_subscriber_group_imports:read`,
        `email_marketing_subscriber_group_imports:all`, `all:read`, `all:all`
      operationId: listSubscriberGroupImport
      parameters:
        - schema:
            type: string
            format: uuid
          in: query
          name: subscriber_group_id
          required: true
          description: Subscriber group ID to list imports for
        - schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 50
          in: query
          name: limit
          required: false
          description: Number of imports per page, 1 to 50. Defaults to 50.
        - schema:
            type: string
          in: query
          name: starting_after
          required: false
          description: >-
            Cursor for the next page: the `next_starting_after` value from the
            previous response. Omit it for the first page.
        - schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
            example: desc
          example: desc
          in: query
          name: sort_order
          required: false
          description: >-
            Sort order by creation time: "asc" (oldest first), "desc" (newest
            first)
      responses:
        '200':
          description: The list of Subscriber Group Import
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    description: The list of Subscriber Group Import
                    items:
                      $ref: '#/components/schemas/SubscriberGroupImport'
                  next_starting_after:
                    type:
                      - 'null'
                      - string
                    description: >-
                      The filter for getting the next items after this one, this
                      could either be a UUID, a timestamp, on an email depending
                      on the specific API
                additionalProperties: false
                required:
                  - items
        '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:
    SubscriberGroupImport:
      title: Subscriber Group Import
      description: >-
        A CSV import into a subscriber group. Emails already in the group are
        skipped, not updated. 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-tags:
        - Schemas
        - SubscriberGroupImport
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the import
          readOnly: true
          format: uuid
          example: 01a20d6a-b908-7645-b4b2-b2fa793b85d5
        status:
          type: string
          description: >-
            Current status of the import. An import ends as `completed` or
            `failed`.
          readOnly: true
          enum:
            - validating
            - chunking
            - validation_completed
            - importing
            - completed
            - failed
          x-enumDescriptions:
            validating: The uploaded file is being checked
            chunking: The valid rows are being split into batches
            validation_completed: The file is checked and its rows are queued to import
            importing: Subscribers are being added to the group
            completed: The import finished. `progress` and `validation` hold the counts
            failed: The import stopped. `processing_error` says why
          example: completed
        file_id:
          type:
            - 'null'
            - string
          description: >-
            The `file_id` returned with the upload URL. To track an upload, list
            the group's imports and match this field: the import appears only
            after the upload is processed, and one upload can produce more than
            one import with the same `file_id` (take the newest). Null for
            imports created before this field existed.
          readOnly: true
          example: 01a20d6a-b908-7645-b4b2-b2fb9ca20bc4
        file_name:
          type:
            - 'null'
            - string
          description: >-
            Name of the uploaded CSV file, as sent when the upload URL was
            requested. Left out when the import failed before the file was read.
          readOnly: true
          example: subscribers.csv
        progress:
          type: object
          description: Import progress information
          readOnly: true
          properties:
            imported:
              type: number
              description: >-
                Number of new subscribers created. Emails already in the group
                are skipped and not counted.
              example: 500
            total:
              type: number
              description: Number of valid rows in the file
              example: 1000
            percentage:
              type: number
              description: >-
                `imported` as a percentage of `total`. It can end below 100 when
                the file holds emails already in the group.
              example: 50
        validation:
          type: object
          description: Validation results for the import
          readOnly: true
          properties:
            total:
              type: number
              description: Number of rows checked
              example: 1000
            invalid:
              type: number
              description: Number of rows rejected
              example: 10
            error_breakdown:
              type: object
              additionalProperties: true
              description: Number of rejected rows per error type
            errors_download_url:
              type:
                - 'null'
                - string
              description: >-
                Link to a CSV of the rejected rows, valid for one hour from this
                response. Null when there is no such file.
              example: https://example.com/errors.csv
        processing_error:
          type:
            - 'null'
            - object
          description: Error information if the import failed
          readOnly: true
          properties:
            type:
              type: string
              examples:
                - COLUMN_ERROR
              description: Error type
              enum:
                - COLUMN_ERROR
                - PARSING_ERROR
                - PROCESSING_ERROR
                - IMPORT_ERROR
              x-enumDescriptions:
                COLUMN_ERROR: Failed to detect or validate CSV columns
                PARSING_ERROR: Failed to parse the CSV file
                PROCESSING_ERROR: An error occurred while checking the file
                IMPORT_ERROR: Adding the subscribers to the group failed
              example: COLUMN_ERROR
            message:
              type: string
              examples:
                - Failed to detect columns
              description: Error message
              example: Failed to detect columns
        skipped_columns:
          type: array
          description: >-
            Columns that were not imported. Holds at most the first 100 entries;
            `skipped_columns_count` is the full total.
          readOnly: true
          items:
            type: object
            properties:
              index:
                type: number
                description: 1-based position of the column in the header row
                example: 4
              name:
                type: string
                description: Column header as written; empty for a blank header
                example: Plan
              reason:
                type: string
                enum:
                  - duplicate
                  - blank
                  - limit_exceeded
                  - invalid_name
                description: Why the column was not imported
                x-enumDescriptions:
                  duplicate: >-
                    The header appears earlier in the file; only the first one
                    is imported
                  blank: The header is empty
                  limit_exceeded: >-
                    The file has more custom attribute columns than a contact
                    supports
                  invalid_name: The header is too long or is not an allowed name
                example: duplicate
            required:
              - index
              - name
              - reason
        skipped_columns_count:
          type: number
          description: Total number of columns that were not imported
          readOnly: true
          example: 0
        timestamp_started:
          type:
            - 'null'
            - string
          description: Timestamp when processing of the upload started
          readOnly: true
          format: date-time
          example: '2026-11-24T11:57:07.720Z'
        timestamp_completed:
          type:
            - 'null'
            - string
          description: >-
            Timestamp of the latest stage to finish: first the file check, then
            the import itself once `status` is `completed` or `failed`. Read
            `status` to know when the import is done.
          readOnly: true
          format: date-time
          example: '2026-11-24T11:57:07.720Z'
      required:
        - id
        - status
        - file_id
        - progress
        - validation
        - skipped_columns
        - skipped_columns_count
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer

````

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