# List import rows

`GET https://api.cademi.com.br/api/v3/imports/{import_id}/rows`

Operation ID: `imports.rows.list` · API v3

Returns the analyzed rows of an import, using cursor-based pagination.

The `email` of each row is returned only when the current credentials also have the `users.read_personal` permission.

The `processing` object reports the processing state of each row after a processing attempt has queued it.

Required permissions: `imports.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `import_id` | path | string | yes |  |
| `limit` | query | integer | no |  |
| `cursor` | query | string | no |  |
| `sort` | query | string, one of `row_number`, `-row_number` | no |  |
| `status` | query | string, one of `ready`, `not_ready`, `ignored` | no |  |
| `q` | query | string | no |  |

## Responses

### 200

Returns the collection of analyzed rows.

Body: `data`: array of ImportRow.

Fields of ImportRow:

| Field | Type | Required | Description |
|---|---|---|---|
| `email` | string or null | no | Returned only when the credential has the users.read_personal permission; otherwise the key is omitted. |
| `errors` | array of string | yes |  |
| `id` | string | yes | Public ID of the row: row_ followed by the row number. |
| `line` | integer | yes | One-based position of the row in the spreadsheet. |
| `object` | string, one of `import_row` | yes |  |
| `processing` | object | yes | Processing status of this row. null until the row has been queued for processing. |
| `product_external_id` | string or null | yes | Product code on the originating payment gateway. |
| `status` | string, one of `ready`, `not_ready`, `ignored` | yes |  |

### 400

The cursor is invalid or the request contains an unsupported query parameter.

Body: Error.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The import was not found or is not accessible with the current credentials.

Body: Error.

### 422

The request body or query parameters failed validation.

Body: ValidationFailed.

Full schema: https://cademi.dev/openapi/v3.json
