🖼️ Media

Convert video to WhatsApp format (mp4)

post/api/{session}/media/convert/video

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/media/convert/video
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

Request body

urlstring

The URL for the video file

datastring

Base64 content of the file

Example request

{
  "url": "https://github.com/devlikeapro/waha/raw/core/examples/video.mp4"
}

Response

mimetypestring required
datastring required

Changes

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