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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1127,7 +1127,7 @@ When you exceed the rate limits for an endpoint, you will receive a `429` status
1127
1127
1128
1128
## Verify webhook events
1129
1129
1130
-
ImageKit sends `x-ik-signature` in the webhook request header, which is used to verify the authenticity of the webhook.
1130
+
ImageKit sends `x-ik-signature` in the webhook request header, which can be used to verify the authenticity of the webhook request.
1131
1131
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
@@ -1136,15 +1136,15 @@ const {
1136
1136
timestamp, // Unix timestamp in milliseconds
1137
1137
event, // Parsed webhook event object
1138
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