Send Reply Button

Body Params
interactive
object

Only applies to the ´interactive´ type.

This object contains the details of the interactive messsage,specifying the type of interaction (in this case, reply buttons) and the structure for buttons, headers, body text, and footer text.

string

Alphanumeric identifier used for reporting purposes.

callbacks
array of strings

Webhook URL to notify about the events of the whatsApp message.

callbacks
string
required

Phone number of the sender.

Phone number provided during the WABA account setup will be used as the sender of the notification message.

Only accepts numeric characters. Do not include the ´+´ sign.

string
required

Determines the destination phone number for your regular message. Numbers are specified in E.164 format → (‘+’ and a country code).

string

Type of message you want to send.

Supported options:

  • ´text´: Sends a plain text message.
  • ´image´: Sends an image file (.jpeg, .png).
  • ´audio´: Sends an audio file (.acc, .mp3, .amr, .mpeg).
  • ´video´: Sends a video file (.mp4, .3gpp.)
  • ´document´: Sends a document file (.pdf).
  • ´contacts´: Sends contact information.
  • ´location´: Sends a location with latitude and longitude.
  • ´interactive´: Sends an interactive message with reply buttons or list .

In this example, we set the ´interactive´ parameter.

Responses

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json