cURL
curl --request POST \ --url https://api.sternrockcapital.com/leads/{leadId}/documents \ --header 'Content-Type: multipart/form-data' \ --form 'description=<string>' \ --form file=@example-file
This response does not have an example.
Uploads a file to S3 and creates the corresponding Document and LeadDocument records for the specified lead.
Lead UUID
Document file to upload
Document Metadata
OK