media

Upload media to channel

Upload media file to a specific channel

post/api/messaging/channels/{channelId}/upload-media

Request

  • Base URL
    http://localhost:3000
  • URL
    http://localhost:3000/api/messaging/channels/{channelId}/upload-media
  • Auth
    none declared

Path parameters

channelIdstring uuid required

ID of the channel

Request body multipart/form-data

filestring binary

Media file to upload

agentIdstring uuid

ID of the agent uploading the media

Response

Media uploaded successfully

idstring uuid
urlstring

URL of the uploaded media

channelIdstring uuid
agentIdstring uuid
type'image' | 'video'
mimeTypestring
sizeinteger

Changes

No recorded changes to this operation across all 2 revisions of this API.