Create an upload link
media_upload_linkAsk the person to upload files from their own device. Returns a short-lived link. Give the link to the person, then wait. Poll media_upload_status with the token until it returns ready, and only then call publish with the media ids it gives you. Do not publish before the status is ready. Use this when the file is on their computer or phone; use media_from_url when the file already has a public https address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | One line shown on the upload page, e.g. what you need them to upload. |