Put media on a saved reply from links
import_saved_reply_mediaPut media on a saved reply from links
Replaces the saved reply's media with files read from links: one image, video or document,
or up to 10 images for an album. Each is an https link Mojeeb downloads within 20 seconds
(a public address, no redirects) or the url of a Mojeeb upload of this agent. An image is
JPEG, PNG or WebP up to 10 MB, a video MP4 or MOV up to 16 MB, a document PDF or DOCX up to
20 MB. Every link is read before anything stored changes; one that can't be is
422 media_url_invalid. It spends a budget of 10 requests a minute per key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| media_urls | Yes | Links to the files: an https link or a Mojeeb upload's `url` each; one for an image, video or document, up to 10 for an album's images, in order. | |
| saved_reply_id | Yes | A saved reply of the agent. Another agent's saved reply is `404 not_found`. |