Skip to content

Instantly share code, notes, and snippets.

@muath-ye
Created May 26, 2023 18:31
Show Gist options
  • Save muath-ye/d5c1a6d3388d885efd3112268e7f7fc6 to your computer and use it in GitHub Desktop.
Save muath-ye/d5c1a6d3388d885efd3112268e7f7fc6 to your computer and use it in GitHub Desktop.
A whatsapp webhook request example
{
"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