Exports - Add File ID to Bulk Export Requests via API
4 months ago by Tyler Allen
There is now an ‘id’ returned in our bulk file export requests. Previously, we only returned a ‘message’ when querying our bulk export APIs; here is an example of bulk exporting entities: https://docs.unit21.ai/reference/export_entities.
The bulk export request is asynchronous and not returning the 'id' of the file made it difficult to query for the desired file when it is finished. Now, you get the ‘id’ of the file in all bulk export API requests to make it easier to manage programmatic exports.
Before
{
"message": "File is generating..." // WHICH FILE?
}
After
{
"message": "File is generating...",
"id": 1 // WOW, SO NICE!
}