cURL
curl --request POST \ --url https://api.sternrockcapital.com/leads/{leadId}/documents \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'description=<string>'
{ "message": "<string>" }
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