Attach a document to a lead
crm_upload_lead_documentAttach one file to a lead card (base64 or https URL). Allowed: pdf, doc(x), xls(x), csv, txt, rtf, odt, ods, ppt(x), png, jpg, gif, webp, heic, zip. Stored privately; adds an activity entry. No credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Lead id (UUID) | |
| file_url | No | Public https URL to fetch the file from (≤10 MB). Use this OR content_base64. | |
| filename | No | File name WITH extension (decides the type). Required with content_base64. | |
| content_base64 | No | File content, base64 (≤ ~7 MB). Use this OR file_url. |