Upload document from URL
click2mail_upload_document_from_urlWRITE: have Click2Mail fetch a PDF (or other supported file) from a public http(s) URL and store it as a document on the account. Returns the document id for click2mail_create_job. Creates data only; nothing is mailed or charged. POST /molpro/documents/url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the file. | |
| document_name | Yes | A name for the document (must be unique on the account). | |
| document_class | No | The product the document is for, e.g. "Letter 8.5 x 11", "Postcard 4.25 x 6". | Letter 8.5 x 11 |
| document_format | No | File format, default "PDF". |