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
orderBy?unknown|unknown|unknown|unknown
Field to sort by
limit?integer
Number of items per page (1-100)
Range
0 <= valuecursor?null|string
Cursor for pagination
direction?unknown|unknown
Sort direction
templateId?string
Filter by template ID
Format
uuidstartDate?string
Filter by start date (ISO string)
Format
date-timeendDate?string
Filter by end date (ISO string)
Format
date-timeuserEmail?string
Filter by user email (partial match)
Response Body
application/json
curl -X GET "https://api.ivandt.com/v1/imports"{
"data": [
{
"id": "string",
"templateId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"fileId": {},
"file": {},
"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"
}
},
"endUserId": {},
"endUserEmail": {},
"importedFrom": {},
"rowCount": 0
}
],
"pagination": {
"paging": {
"limit": 0,
"count": 0,
"cursor": {},
"nextCursor": {},
"hasNext": true,
"total": 0
},
"filters": {
"templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"userEmail": "string"
},
"sort": {
"orderBy": "string",
"direction": "asc"
}
}
}