You could send a text message with any of the following formats:
- Bold (*using asterisks*)
- Italic (_using underscores_)
- Strikethrough (~using tildes~)
PARAMETER | FORMAT | REQUIRED | DESCRIPTION | DEFAULT |
body | string | Yes | Message to be sent out | |
previewUrl | boolean | Optional | To generate link previews if any URL exists in the message | false |
Sample request using CURL:
$ curl -X POST https://api.geniq.io/rest/v1/whatsapp/messages \
-H 'Authorization: Bearer [TOKEN]' \
-H 'Content-Type: application/json' \
-d '{
"recipient":"6591234567",
"type":"text",
"body":"This is a *bold* message. https://www.youtube.com/watch?v=EngW7tLk6R8",
"previewUrl":true,
"reference": "12345"
}' \