Path Parameters
ID of the agent
Body
multipart/form-data
Media file to upload
curl --request POST \
--url http://localhost:3000/api/media/{agentId}/upload-media \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"type": "image",
"mimeType": "<string>",
"size": 123
}
Upload image or video media for an agent
curl --request POST \
--url http://localhost:3000/api/media/{agentId}/upload-media \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"type": "image",
"mimeType": "<string>",
"size": 123
}
ID of the agent
Media file to upload
Was this page helpful?