Send Message
Send Media
POST
Authorizations
Your authorization key header
Path Parameters
ID of the instance to connect
Body
application/json
Media URL or file in base64
Media type
Available options:
image
, video
, document
, audio
Number to receive the message (with country code)
Caption to send with media (except with media type audio
)
Presence time in milliseconds before sending message
Name of the file (for media type document
only)
Mention everyone on a group message
Media mimetype
Response
201 - application/json
The key of the message, which identifies the message in the chat.
The message content, which may include various types of messages like text, images, etc.
The timestamp of the message, represented as a string.
The status of the message, such as sent, received, or pending.