Request test
Note :
in case the instance not authorized or phone disconnected from internet , the message will add to queue and will be sent when the WhatsApp instance ready.
Phone with international format e.g. +1408XXXXXXX , or chatID for contact or group
Request URL
https://api.ultramsg.com/{{instance_id}}/messages/chat
Request body
Token *Required
to *Required

Phone with international format e.g. +14155552671
or
chatID for contact or group e.g [email protected] or [email protected]

body *Required

Message text, UTF-8 or UTF-16 string with emoji
Max length : 4096 char .

priority *Required

This parameter is optional, You can use it to create a professional queue for messages, The Messages with less priority value are sent first.

example of usage :

priority = 0: for High priority like OTP messages.

priority = 5: used with general messages.

priority =10: Non-urgent promotional offers and notifications to your customers.

Default value : 10

referenceId *Required

Your custom reference ID for this message


Request samples
Note : don't forget to URL encode your query params like base64 or utf-8
WhatsApp Chat WhatsApp Chat Hello, how can I help you ?