Get an import
curl --request GET \
--url https://beta.creatorcore.co/api/v2/imports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/imports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/imports/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"import": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "creators",
"status": "staged",
"target": {
"type": "database",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"options": {},
"source": "inline",
"fileName": "<string>",
"fileSha256": "<string>",
"headers": [
"<string>"
],
"rowCount": 123,
"mapping": {},
"mappingConfidence": {},
"availableFields": [
{
"key": "<string>",
"label": "<string>"
}
],
"preview": {
"counts": {
"create": 123,
"merge": 123,
"skip": 123,
"error": 123
},
"duplicateGroups": [
{
"key": "<string>",
"rowIndexes": [
123
]
}
],
"attention": [
{
"rowIndex": 123,
"outcome": "skip",
"reason": "<string>"
}
],
"estimatedRefreshes": 123,
"unmappedHeaders": [
"<string>"
],
"missingRequired": [
"<string>"
]
},
"previewToken": "<string>",
"counts": {
"total": 123,
"processed": 123,
"succeeded": 123,
"failed": 123,
"skipped": 123,
"duplicate": 123,
"addedToTarget": 123,
"targetErrors": [
"<string>"
]
},
"error": "<string>",
"bulkImportId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"previewedAt": "<string>",
"committedAt": "<string>",
"finishedAt": "<string>"
}
}Imports
Get an import
Returns the import’s status, detected columns, field mapping with per-field confidence, the dry-run preview (counts by outcome, duplicate groups, rows needing attention, estimated refreshes) and, while previewed, the previewToken to commit with. After commit, status moves queued → running → done (or failed) and counts tracks progress. Poll every few seconds.
GET
/
api
/
v2
/
imports
/
{id}
Get an import
curl --request GET \
--url https://beta.creatorcore.co/api/v2/imports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/imports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/imports/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"import": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "creators",
"status": "staged",
"target": {
"type": "database",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"options": {},
"source": "inline",
"fileName": "<string>",
"fileSha256": "<string>",
"headers": [
"<string>"
],
"rowCount": 123,
"mapping": {},
"mappingConfidence": {},
"availableFields": [
{
"key": "<string>",
"label": "<string>"
}
],
"preview": {
"counts": {
"create": 123,
"merge": 123,
"skip": 123,
"error": 123
},
"duplicateGroups": [
{
"key": "<string>",
"rowIndexes": [
123
]
}
],
"attention": [
{
"rowIndex": 123,
"outcome": "skip",
"reason": "<string>"
}
],
"estimatedRefreshes": 123,
"unmappedHeaders": [
"<string>"
],
"missingRequired": [
"<string>"
]
},
"previewToken": "<string>",
"counts": {
"total": 123,
"processed": 123,
"succeeded": 123,
"failed": 123,
"skipped": 123,
"duplicate": 123,
"addedToTarget": 123,
"targetErrors": [
"<string>"
]
},
"error": "<string>",
"bulkImportId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"previewedAt": "<string>",
"committedAt": "<string>",
"finishedAt": "<string>"
}
}Authorizations
Was this page helpful?