HostingImports
Download import CSV file
GET
/api/imports/{import_code}/fileDownloads the CSV file uploaded for an import. Admin only.
Authorization
api_key X-Api-Token<token>
API token used to authenticate requests.
In: header
Path Parameters
import_code*string
Import code: I followed by 9 digits. Example: I123456789.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/imports/string/file" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json"Empty
{
"message": "Unauthorized",
"errors": []
}{
"message": "Forbidden",
"errors": []
}{
"message": "Not found",
"errors": []
}{
"message": "Validation failed",
"errors": [
{
"field": "name",
"description": "is not valid"
}
]
}