Send message
Send one message (service message or template message) via platform for Meta Graph API
POST
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <credentials>, where <credentials> is the Base64 encoding of username and password joined by a colon.
Path Parameters
api_versionstringrequired
API version
business_phone_number_idstringrequired
Business phone number ID
Body
Request body
interactiveanyСовпадает с форматом Meta (используются только кнопки)
messaging_productstringrecipient_typestringtemplateanyСовпадает с форматом Meta
textobjecttext.bodystringtext.preview_urlbooleantostringtypestringResponse
application/json
Accepted
contactsobjectcontacts.inputstringcontacts.wa_idstringmessagesarray<object>messages.idstringmessaging_productstring