Send Message
Send Poll
POST
https://{server-url}
/
message
/
sendPoll
/
{instance}
Authorizations
Your authorization key header
Path Parameters
ID of the instance to connect
Body
application/json
Number to receive the message (with country code)
Name of the poll
How many options each person can select
Required range:
x > 1
Presence time in milliseconds before sending message
Mention everyone on a group message
Response
201 - application/json
The key of the message, which identifies the message in the chat.
The message content, which may include various types of messages like text, images, poll creation, etc.
The timestamp of the message, represented as a string.
The status of the message, such as sent, received, or pending.