API endpoints overviewImports
List imports
List imports
Retrieves a paginated list of all imports for your account. Results are ordered by creation date (newest first by default).
Pagination:
- Use
limitto control page size (1-100, default 20) - Use
cursorfrom the previous response to fetch the next page - Use
directionto sort ascending or descending
Filtering:
- Filter by
templateIdto get imports for a specific template
Query Parameters
limit?integer
Range
0 <= valuecursor?string | null
orderBy?unknown
direction?
templateId?string
Format
uuidResponse Body
curl -X GET "https://api.ivandt.com/v1/imports?limit=0&orderBy=createdAt&direction=asc&templateId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"data": [
{
"id": "string",
"templateId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"fileId": {},
"meta": {
"publicKey": "string",
"sessionToken": "string",
"schemaId": "string",
"schemaKey": "string",
"sdkVersion": "string",
"source": {
"kind": "upload",
"referer": "string"
},
"file": {
"name": "string",
"fileId": "string",
"extension": "string",
"mime": "string",
"sizeBytes": 0,
"formattedSize": "string",
"lastModified": "string"
},
"sheet": {
"rowCount": 0,
"selectedSheetName": "string",
"allSheetNames": [
"string"
]
},
"counts": {
"totalRows": 0,
"validRows": 0,
"erroredRows": 0,
"discardedRows": 0
},
"timings": {
"startedAt": "string",
"finishedAt": "string"
},
"environment": {
"userAgent": "string",
"timezone": "string",
"platform": "web",
"runtime": "string"
}
}
}
],
"pagination": {
"paging": {
"limit": 0,
"count": 0,
"cursor": {},
"nextCursor": {},
"hasNext": true
},
"filters": {
"templateId": "string"
},
"sort": {
"orderBy": "createdAt",
"direction": "asc"
}
}
}