Message

Send a media message (Evolution API)

Changed on

Sends a media file (image or document) based on the mediatype field

post/v1/message/sendMedia/{instance}

Request

  • Base URL
    http://localhost:8080
  • Auth
    API key in header apikey

Path parameters

instancestring required

Instance ID

Request body

captionstring
delayinteger
fileNamestring
mediastring

Media is the URL of the file

mediatypestring
mentionedstring[]
mentionsEveryOneboolean
mimetypestring
numberstring

Response

OK

contextInfounknown
instanceIdstring
messageTimestampinteger
messageTypestring
pushNamestring
sourcestring
statusstring

Changes