Skip to main content
POST
Upload media to channel

Path Parameters

channelId
string<uuid>
required

ID of the channel

Body

multipart/form-data
file
file

Media file to upload

agentId
string<uuid>

ID of the agent uploading the media

Response

Media uploaded successfully

id
string<uuid>
url
string

URL of the uploaded media

channelId
string<uuid>
agentId
string<uuid>
type
enum<string>
Available options:
image,
video
mimeType
string
size
integer