Conversations

Send message with media

Send a message with media attachment (image, video, document, audio).

Supported formats:

  • Images: JPG, PNG, GIF (max 5MB)
  • Videos: MP4, 3GP (max 16MB)
  • Documents: PDF, DOC, XLS, etc. (max 100MB)
  • Audio: MP3, OGG, AMR (max 16MB)

Requirements:

  • Media URL must be publicly accessible (HTTPS)
  • Conversation must be within 24-hour window
post/api/v1/conversations/{conversationId}/messages/media

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/conversations/{conversationId}/messages/media
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

conversationIdstring required

Conversation ID

Request body

textstring

Optional caption for media

mediaUrlstring uri required

Public URL of media file (image, video, pdf, etc.)

mediaType'image' | 'video' | 'document' | 'audio'

Media type (auto-detected if not provided)

Example request

{
  "text": "Aquí está el documento solicitado",
  "mediaUrl": "https://storage.example.com/files/document.pdf",
  "mediaType": "document"
}

Response

Created

successtrue required
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.