create_upload_link

Get a one-time link to upload a local file into a folder in Files (Personal, Shared or a subfolder — not Recently emailed or Trash; folder_id from list_doc_folders). Upload with an HTTP PUT of the raw bytes, e.g. curl -T ./file.pdf "<url>" . The response JSON has the new file_id, which can then be attached to emails via file_ids. Link is single-use and expires in 15 minutes; 25 MB per file.

Parameters

More IT tools · API quickstart