---
title: "List all imports in a nation"
method: GET
path: "/api/v2/imports"
tags: ["Imports"]
---

# List all imports in a nation

`GET /api/v2/imports`

## Request

- Base URL: `https://yournation.nationbuilder.com`
- URL: `https://yournation.nationbuilder.com/api/v2/imports`
- Auth: HTTP bearer

List all imports

## Response `200`

A page of matching imports.

- ImportIndexResponse: The JSON:API top-level document shape for paginated collection responses, with resource objects under data and pagination links.
  - `data` ImportResponseData[], required: The page of resource objects for this collection; each resource binds its concrete item schema here via allOf composition.
    - `id` string, required: Unique identifier of the resource.
    - `type` 'imports', required: The JSON:API resource type.
    - `attributes` ImportReadOnlyAttributes: The read-only attributes of a import.
      - `content_head` string, nullable: Comma separated list containing attribute names for the import.
      - `created_at` string, date-time, nullable
      - `error_lines` string, nullable: Errors created during the import.
      - `file_name` string, nullable: File name of the import.
      - `finished_at` string, date-time, nullable: When the import finished.
      - `is_overwritable` boolean, nullable: Flag used to determine whether non-empty fields are overwritten. Defaults to false.
      - `lines_count` integer, nullable: Number of lines in the import.
      - `rows_successful` integer, nullable: Number of successfully imported rows.
      - `rows_unsuccessful` integer, nullable: Number of unsuccessfully imported rows.
      - `rows_updated` integer, nullable: Number of updated rows.
      - `started_at` string, date-time, nullable: When the import started.
      - `status` 'finished' | 'unprocessable' | 'queueing' | 'in_progress' | 'null', nullable: The status of the import.
      - `tag_list` string, nullable: Assign these tags to the imported signups.
      - `type` string, nullable: The import type.
      - `updated_at` string, date-time, nullable
  - `links` PaginationLinks: JSON:API pagination links for the pages of a collection. A key whose page is unavailable, or that the server's pagination strategy does not provide, is omitted or null.
    - `self` string: Link to the current page.
    - `first` string, nullable: Link to the first page.
    - `last` string, nullable: Link to the last page.
    - `prev` string, nullable: Link to the previous page.
    - `next` string, nullable: Link to the next page.
  - `included` Resource[]: Sideloaded resources requested via the include query parameter. Each entry is a full resource object whose shape is documented under its own resource type.
    - `id` string, required: Unique identifier of the resource.
    - `type` string, required: The JSON:API resource type.
    - `attributes` object: The attributes of the resource, as documented for its resource type.
    - `relationships` object: References from this resource to other resources in the document.
  - `meta` object: Non-standard information about the document, such as requested statistics. Empty unless the endpoint has metadata to convey.

## Other responses

- `401`: The access token is missing, expired, or not authorized to access this resource.
- `429`: The access token has exceeded its request quota for the current rate-limit window.

## Changes

- **2026-11-05** `d5c88ca497ac`: 2 breaking, 1 warning, 4 info
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `data` from the response with the `200` status
  - removed the optional property `links` from the response with the `200` status
  - added `#/components/schemas/index_document, subschema #2` to the response body `allOf` list for the response status `200`
  - …3 more

[Operation history](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/changes/api/v2/imports/get.md)

---

[API](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api.md) - [All operations](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/revisions/d5c88ca497ac?raw)
