You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-10Lines changed: 18 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1132,16 +1132,24 @@ ImageKit sends `x-ik-signature` in the webhook request header, which can be used
1132
1132
Verifing webhook signature is easy with imagekit SDK. All you need is `x-ik-signature`, rawRequestBody and secretKey. You can copy webhook secret from imagekit dashboard.
1133
1133
1134
1134
```js
1135
-
const {
1136
-
timestamp, // Unix timestamp in milliseconds
1137
-
event, // Parsed webhook event object
1138
-
} =imagekit.verifyWebhookEvent(
1139
-
'{"type":"video.transformation.accepted","id":"58e6d24d-6098-4319-be8d-40c3cb0a402d"...', // Raw request body encoded as Uint8Array or UTF8 string
0 commit comments