Prerequisites
Before following this guide, you will need:- A broker email address associated with your organization
- Access to generate API keys (requires funder authentication)
Steps
1. Create a Broker Submission
Create a new submission with a name (API reference):app.py
The submission name must be at least 10 characters long and is used for reference purposes to help identify the submission.
2. Add Company and Owner Details
Update the submission with detailed business and owner information (API reference):app.py
Set
source_email_address to the email of the broker who submitted the deal so they receive credit for the submission.3. Upload PDF Files
Upload supporting documents to the submission (API reference). Optionally include afile_class form field to apply that classification to all files in the request — if omitted, Heron will automatically classify each file based on its contents:
app.py
Because
file_class applies to every file in the request, uploads with files of different classes must be split into separate requests (one per class). Alternatively, omit file_class and let Heron classify each file automatically.Response Status Codes
The file upload endpoint returns different status codes based on the outcome:- 201: All files uploaded successfully
- 207: Partial success - some files uploaded, others failed
- 400: All files failed validation or upload
File Restrictions
When uploading files:- Only PDF files are accepted
- Duplicate files for the same submission will be rejected