Skip to main content
POST
/
message
/
sendText
/
{instance}
Send Text
curl --request POST \
  --url https://api.botifiy.com/message/sendText/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "number": "<string>",
  "text": "<string>",
  "delay": 123,
  "linkPreview": true,
  "mentionsEveryOne": true,
  "mentioned": [
    "<string>"
  ]
}
'
{
  "key": {
    "remoteJid": "<string>",
    "fromMe": true,
    "id": "<string>"
  },
  "message": {
    "extendedTextMessage": {
      "text": "<string>"
    }
  },
  "messageTimestamp": "<string>",
  "status": "<string>"
}

Authorizations

apikey
string
header
required

Path Parameters

instance
string
required

Name of the instance

Body

application/json
number
string
required

WhatsApp number to send the message to

text
string
required

Text message content

delay
integer

Delay in milliseconds before sending the message

Whether to show link preview

mentionsEveryOne
boolean

Whether to mention everyone

mentioned
string[]

List of mentioned JIDs

Response

201 - application/json

Created

key
object
message
object
messageTimestamp
string
status
string