File Export Webhooks

File export request bodies

{
  "exports": [
    {
      "id": 31387,
      "created_at": 1661968372,
      "export_type": "TRANSACTIONS",
      "status": "READY_FOR_DOWNLOAD",
      "status_message": "",
      "file_name": "sandbox1/org_Unit21/1661968923000_bulk_TxnEvent.zip",
      "file_size": 287607825
    }
  ]
}

For the webhook EXPORT_READY, the following fields are sent:

Field NameValue TypeDetails
exportsObject[]A list of exports
ExportsValue TypeDetails
idNumberA Unit21 internally-assigned unique identifier for export
created_atNumberTime the file was created in Epoch time format (number of seconds elapsed since 1 Jan 1970 00:00:00 UTC)
export_typeStringThe object that was exported such as entity, transaction, instrument...
statusStringREADY_FOR_DOWNLOAD
status_messageStringOptional message
file_nameStringName of the file
file_sizeNumberSize of the file in bytes