v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-06-11720209.3 KB
Message Controller

Send Text

Send plain text message

post/message/sendText/{instance}

Path parameters

instancestring required

ID of the instance to connect

Request body

numberstring required

Number to receive the message (with country code)

Response

Created

messageTimestampstring

The timestamp of the message.

statusstring

The status of the message.

Example response

{
  "key": {
    "remoteJid": "553198296801@s.whatsapp.net",
    "fromMe": true,
    "id": "BAE594145F4C59B4"
  },
  "message": {
    "extendedTextMessage": {
      "text": "Olá!"
    }
  },
  "messageTimestamp": "1717689097",
  "status": "PENDING"
}