Adjust webhook poll result example

This commit is contained in:
Skylar Ittner 2026-01-28 02:24:36 -07:00
parent d94f2f83fb
commit c40c03fa81

View File

@ -450,11 +450,20 @@ Various useful helper functions.
```javascript ```javascript
[ [
{ {
id: 123, // Unique ID. Used for ack(webhookid). // Unique ID. Used for ack(webhookid).
timestamp: 1234567890, // UNIX timestamp (in seconds) of when the data was received by the webhook URL. id: 123,
// UNIX timestamp (in seconds) of when the data was received by the webhook URL.
timestamp: 1234567890,
// Source name set in geturl()
source: "sourcename", source: "sourcename",
headers: "{'Content-Type': 'application/json'}", JSON string of all the HTTP headers sent to the webhook URL.
body: "", Entire HTTP request body sent to the webhook URL. // JSON string of all the HTTP headers sent to the webhook URL.
headers: "{'Content-Type': 'application/json'}",
// Entire HTTP request body sent to the webhook URL.
body: ""
} }
] ]
``` ```