cURL
curl --request POST \ --url https://api.agentwallex.com/api/v1/webhooks/{id}/test \ --header 'X-API-Key: <api-key>'
{ "success": true, "status_code": 123, "response_time_ms": 123 }
向 Webhook 端點傳送測試事件,以驗證您的處理程式是否正常運作。
whk_abc123
curl -X POST https://api.agentwallex.com/api/v1/webhooks/whk_abc123/test \ -H "X-API-Key: awx_your_api_key"
API key authentication. Keys are prefixed with awx_.
awx_
The webhook ID to test (e.g., whk_abc123).
Test event sent successfully.
Whether the test event was delivered successfully.
HTTP status code returned by the webhook endpoint.
Response time from the webhook endpoint in milliseconds.