REST API
Upload to Deal
Associate documents with specific deals for win-loss analysis. Audio and video files are automatically transcribed. Documents are processed and used to enrich deal insights.
POST
Associate documents with specific deals for win-loss analysis. Audio and video files are automatically transcribed.
Copy for AI context
Copy for AI context
Deal Identification
You can identify the deal using one of three methods:Source Options
Thesource field determines the icon displayed and helps with document organization:
Supported File Types
Authorizations
API key from Hindsight dashboard
Body
multipart/form-data
Name of the file
Example:
"Discovery Call Notes.pdf"
MIME type of the file
Example:
"application/pdf"
URL to download the file from (provide either file_url or file)
Binary file content (provide either file or file_url)
Hindsight deal ID (provide one of deal_id, salesforce_id, or hubspot_id)
Example:
"deal_123"
Salesforce Opportunity ID
Example:
"006xxxxxxxxxxxx"
HubSpot Deal ID
Example:
"12345678"
Source application where the document originated
Available options:
gong, clari, fathom, fireflies, avoma, outreach, gmail, Salesforce, Hubspot, api Example:
"gong"
Previous
Create Interview RequestCreates an interview request for a contact. Upserts the contact by email if they don't exist yet.
When a `sequence_id` is provided, the contact is enrolled in the sequence and Hindsight's
scheduling agent handles outreach automatically. When only `interview_type_id` is provided,
the request is created and the survey link is returned without any outreach.
Next
