Request test
Phone number with international format e.g. 16315555555 or +1 631-555-555
Request URL
https://api.alvochat.com/{{instance_id}}/messages/button
Request body
Token *Required
to *Required

Phone number with international format e.g. 16315555555 or +1 631-555-555

header *Required

Supported type (text - image - video- document )
-text
Max length : 60 char .
- image

{"image":"https://alvochat-example.s3.eu-central-1.amazonaws.com/image/1.jpg"}
or
{"image":"MEDIA_ID"}

- video
{"video":"https://alvochat-example.s3.eu-central-1.amazonaws.com/video/1.mp4"}
or
{"video":"MEDIA_ID"}

- document
{"document":"https://alvochat-example.s3.eu-central-1.amazonaws.com/document/1.pdf","filename":"1.pdf"}
or
{"document":"MEDIA_ID"}

body *Required

Max length : 1024 char .

footer *Required

Max length : 60 char .

buttons *Required

Max buttons : 3
examples:
(string)
option_1,option_2,option_3

(json)

[{"id":"1","title":"option_1"},{"id":2,"title":"option_2"},{"id":3,"title":"option_3"}]

TITLE Max length : 20 char .
ID Max length : 256 char .
Note :title and id must be unique


								
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 ?