Attach a document to a proposal
add_attachmentPrepare a form from documents: a proposal of every answer with its source, what is missing, and where documents disagree, before writing, plus attachments for a package. Attach one document (file_url: public https link, or file_base64) to a proposal from prepare_form. PDF, PNG and JPEG only, at most 20 per proposal. requirement: the name of an entry in the form's attachments_required list to satisfy it; uploading a second document for the same requirement replaces the first. Free: attachments are part of the already-billed prepare. Optional retention: ephemeral or account_default (default: the account's own setting). Ephemeral processing: source and output documents are deleted 60 to 70 minutes after the last activity on a form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | ||
| file_base64 | No | ||
| proposal_id | Yes | ||
| requirement | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||