/webhook
/health
/webhook
endpoint
Use this curl command to test the webhook:
curl -X POST [YOUR_WEBHOOK_URL]/webhook \
-H "Content-Type: application/json" \
-d '{
"queryResult": {
"intent": {
"displayName": "express_sadness"
},
"queryText": "I feel really sad today",
"parameters": {}
},
"session": "projects/test-project/agent/sessions/test-session"
}'