Send A Text Message To Phone Number Or Group
Request test
Note : in case the instance not authorized , the message will add to queue and will be sent when the WhatsApp instance is ready.
Request URL
https://connectivity.pk/api/messages/chat?instance_id={{instance_id}}&token={{token}}
Request body
|
token
*Required
|
Your API Authorization code
|
|
to
*Required
|
Phone number with international format e.g. +14155552671
or chatID for contact or group e.g 14155552671@c.us or 14155552671-441234567890@g.us |
|
body
*Required
|
Message text, UTF-8 or UTF-16 string with emoji
Max length : 4096 characters. |
|
priority
|
Priority controls order and delay.
Order: priority = 0 : High priority = 1-9 : Normal priority = 10+ : Low Delay: If priority is provided, delay = priority seconds (0-120). If priority is missing, delay comes from instance_settings: - queued <= 10 -> send_delay - queued > 10 -> send_delay_max. Contact Us |
|
scheduled_at
|
Optional scheduled send time.
Easy formats (server timezone): - 2026-02-02 03:30 PM - 02-02-2026 15:30 - 2026/02/02 15:30 If in the past, it sends immediately. |
|
referenceId
|
Your custom reference ID for this message
Contact Us |
|
msgId
|
Reply to a specific message.
Contact Us |
|
mentions
|
Use this feature to mention users in a group.
Contact Us |
Response
No response yet.
Request samples
Note:
don't forget to URL encode your query params like
base64 or utf-8