Hi, is there a way to be notified by email (ideally with report) when import via API fails ?
Solved
Get email notification when import via API fails
Best answer by Jordan
Hey
At this time, API Imports are not something we notify on, but we have an internal feature request logged about this and I’ve added reference to this community post.
Workaround
At this time, you can check on an import status using this endpoint: https://customer.io/docs/api/app/#operation/getImport
Here’s an example of what a failed import would look like when sending a request to that endpoint:
{
"import": {
"id": "5",
"type": "people",
"error": "\"id\" column required (case sensitive)",
"name": "API CSV import fail",
"state": "failed",
"description": "This will fail because there is no column named 'id' in this CSV",
"created_at": 1696378006,
"updated_at": 1696378009,
"rows_to_import": 0,
"rows_imported": 0,
"identifier": "id",
"people_to_process": "all"
}
}
Let us know if you have any other questions about this. 😊
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.