Get image upload link
How do I add images when my assistant cannot send files?
dorna_get_content_upload_link returns a link, valid for one hour, to a page where you add images, each with a caption, to one of your contents, from any device and without signing in to Dorna.
- dorna_get_content_upload_link
- Changes data
Parameters
| Field | Type | Description |
|---|---|---|
contentId | string (ID) | Required. The content the uploaded images are added to. |
What it returns
A one-hour upload link. After you say you are done, read the content again with dorna_contents to see the images.
Example
Ask your assistant: Give me a link to upload pictures to my launch reportage.
The assistant then calls the tool like this:
{
"name": "dorna_get_content_upload_link",
"arguments": {
"contentId": "64f1a2b3c4d5e6f7a8b9c0d1"
}
}A typical result looks like this (the values are examples):
{
"contentId": "64f1a2b3c4d5e6f7a8b9c0d1",
"uploadLink": "https://app.dorna.media/upload/abc123"
}Access and confirmation
Changes data: it adds something new to your account or creates a link.
Related tools: dorna_add_content_image dorna_contents
Still have a question?
Open this guide in your own AI assistant and ask it.