curl --location --request POST 'https://api.chakrahq.com/v1/ext/plugin/whatsapp//update-config' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"passThroughWebhookUrl": "https://example.com/log",
"enableMessageEchoesForPassThroughWebhook": true,
"enableSendMessageTemplateEventForPassThroughWebhook": true,
"enableChakraWebhook": true,
"chakraWebhookUrl": "https://example.com/log",
"whichChakraWebhookEventsToSend": [
"message",
"status",
"message_echo",
"smb_message_echo"
]
}'