Skip to main content
POST
/
message
/
sendText
/
{instanceName}
Send Text Message
curl --request POST \
  --url https://api.flowmod.ai/message/sendText/{instanceName} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "number": "5511999999999",
  "text": "Hello, World!",
  "delay": 1200,
  "quoted": {
    "key": {
      "id": "<string>",
      "fromMe": true,
      "remoteJid": "<string>"
    }
  },
  "linkPreview": true,
  "mentionsEveryOne": false,
  "mentioned": [
    "<string>"
  ]
}
'
{
  "status": 201,
  "error": false,
  "response": {
    "key": {
      "id": "<string>",
      "fromMe": true,
      "remoteJid": "<string>"
    },
    "message": {},
    "messageTimestamp": 123,
    "status": "PENDING",
    "pushName": "<string>"
  }
}

Authorizations

apikey
string
header
required

Organization-specific API key for Evolution API access

Path Parameters

instanceName
string
required

Organization-specific instance identifier

Body

application/json
number
string
required

Phone number or group ID to send message to

Example:

"5511999999999"

text
string
required

Message text content

Example:

"Hello, World!"

delay
number

Typing simulation delay in milliseconds

Example:

1200

quoted
object

Message to quote/reply to

Enable link preview for URLs

mentionsEveryOne
boolean
default:false

Mention all group participants

mentioned
string[]

Array of phone numbers to mention

Response

200 - application/json

Message sent successfully

status
number
Example:

201

error
boolean
Example:

false

response
object