curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/files \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"file_base64": "<string>",
"filename": "<string>",
"file_class": "<string>",
"parent_file_heron_id": null,
"reference_id": "<string>",
"trigger_downstream_processing": true
}
'{
"bank_statement": null,
"created": "2023-11-07T05:31:56Z",
"email": null,
"file_class": "<string>",
"file_source_metadata": {},
"filename": "<string>",
"heron_id": "<string>",
"iso_application": {
"heron_id": "iso_6hBjQT9k6KP2rLCXwjUJff",
"processing_status": "processed"
},
"num_pages": 123,
"page_classes": {},
"parent_heron_id": "<string>",
"parsed_results": [],
"reference_id": "<string>",
"renamed_filename": "<string>"
}Deprecated — use Post EndUserFile V2 instead.
curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/files \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"file_base64": "<string>",
"filename": "<string>",
"file_class": "<string>",
"parent_file_heron_id": null,
"reference_id": "<string>",
"trigger_downstream_processing": true
}
'{
"bank_statement": null,
"created": "2023-11-07T05:31:56Z",
"email": null,
"file_class": "<string>",
"file_source_metadata": {},
"filename": "<string>",
"heron_id": "<string>",
"iso_application": {
"heron_id": "iso_6hBjQT9k6KP2rLCXwjUJff",
"processing_status": "processed"
},
"num_pages": 123,
"page_classes": {},
"parent_heron_id": "<string>",
"parsed_results": [],
"reference_id": "<string>",
"renamed_filename": "<string>"
}Base64 encoded file bytes
Name of file
The type of file, e.g., bank_statement
The Heron ID of the parent file, if this file is a part of another file
Your reference id for file
Whether to trigger downstream processing (file classification, parsing, etc.) upon upload
OK
Show child attributes
null
Show child attributes
null
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?