Created
May 26, 2023 18:31
-
-
Save muath-ye/d5c1a6d3388d885efd3112268e7f7fc6 to your computer and use it in GitHub Desktop.
A whatsapp webhook request example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"object": "whatsapp_business_account", | |
"entry": [ | |
{ | |
"id": "*****************", | |
"changes": [ | |
{ | |
"value": { | |
"messaging_product": "whatsapp", | |
"metadata": { | |
"display_phone_number": "***********", | |
"phone_number_id": "***" | |
}, | |
"contacts": [ | |
{ | |
"profile": { | |
"name": "Muath A" | |
}, | |
"wa_id": "****" | |
} | |
], | |
"messages": [ | |
{ | |
"from": "****", | |
"id": "wamid.MBUGAlTGH0svWga-dJIh43L5Pe4W", | |
"timestamp": "1603059201", | |
"text": { | |
"body": "Hello this is an answer form github" | |
}, | |
"type": "text" | |
} | |
] | |
}, | |
"field": "messages" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment