Send a text message to a specified instance.
POST/message/sendText/:instanceName
Send a text message to a specified instance.
Request
Path Parameters
instanceName stringrequired
The name of the instance to which the message should be sent.
Example: codechat
- application/json
Body
required
number stringrequired
The recipient's phone number.
textMessage objectrequired
text string
The content of the text message.
options object
delay integer
Delay time before sending the message.
presence string
Possible values: [composing
, recording
, paused
]
Indicates the sender's action/status.
Responses
- 200
Successful response
- application/json
- Schema
Schema
- any
Loading...