Send Message
Send Poll
Send Poll
POST
https://{server-url}
/
message
/
sendPoll
/
{instance}
Authorizations
apikey
string
headerrequiredYour authorization key header
Path Parameters
instance
string
requiredID of the instance to connect
Body
application/json
number
string
requiredNumber to receive the message (with country code)
pollMessage
object
requiredoptions
object
Response
201 - application/json
key
object
The key of the message, which identifies the message in the chat.
message
object
The message content, which may include various types of messages like text, images, poll creation, etc.
messageTimestamp
string
The timestamp of the message, represented as a string.
status
string
The status of the message, such as sent, received, or pending.