Upload file attachments for a lead. Only allowed when the post-acceptance status is JOB_WON. Accepted file types: PDF, JPG, PNG. Maximum 10MB per file, 10 files per request.
JOB_WON
cURL
curl --request POST \ --url https://www.renovationfind.com/rest-api-v1/general-leads/{id}/attachments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'files=<string>' \ --form files.items='@example-file'
{ "success": true, "data": [ { "id": 123, "displayFilename": "<string>", "contentType": "<string>", "uploadDate": "2023-11-07T05:31:56Z" } ], "message": "<string>" }
JWT token issued from the RenovationFind Manager Portal
10
Files uploaded successfully
true
Show child attributes