Message Controller

Send plain text message

post/message/sendText/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/message/sendText/{instance}
  • Auth
    API key in header apikey

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

Changes

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • breaking

      added the new required request property

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property

    • info

      added the new optional request property /

    • info

      added the new optional request property /