Skip to main content
GET
/
v2
/
imports
/
{import_id}
/
rows
Get Import Rows
const options = {
  method: 'GET',
  headers: {'x-organization-id': '<x-organization-id>', 'x-api-key': '<api-key>'}
};

fetch('https://api.dcycle.io/v2/imports/{import_id}/rows', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "page": 123,
  "page_size": 123,
  "total_pages": 123,
  "total_rows": 123,
  "rows": [
    {
      "row_index": 123,
      "data": {},
      "errors": {}
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string
x-organization-id
string<uuid>
required

Path Parameters

import_id
string<uuid>
required

Query Parameters

page
integer
default:1
Required range: x >= 1
page_size
integer
default:50
Required range: 1 <= x <= 500
errors_only
boolean
default:false

Response

Successful Response

Paginated rows for an import session.

import_id
string<uuid>
required
page
integer
required
page_size
integer
required
total_pages
integer
required
total_rows
integer
required
rows
ImportRowOut · object[]