v46

latestOpenAPI 3.0.3raw.githubusercontent.com2025-05-151340367.2 KB
Message Controller

Send Text

Send plain text message

post/message/sendText/{instance}

Path parameters

instancestring required

Name of the instance

Request body

numberstring required

Number to receive the message (with country code)

textstring required

Test message to send

delayinteger

Presence time in milliseconds before sending message

linkPreviewboolean

Shows a preview of the target website if there's a link within the message

mentionsEveryOneboolean

Mentioned everyone when the message send

mentionedstring[]

Numbers to mention

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"
}