verify_request | R Documentation |
With the help of signing secrets, your app can more confidently verify whether requests from Slack are authentic.
verify_request( request_timestamp, request_signature, request_body_raw, signing_secret, version = "v0" )
request_timestamp |
The X-Slack-Request-Timestamp header on the HTTP request. |
request_signature |
The X-Slack-Signature header on the request. |
request_body_raw |
The raw request body from the request. Make sure that this request body contains no headers and is not deserialized in any way. Slack only uses the raw request payload. |
signing_secret |
Your app's signing secret available in the app admin panel under Basic Info. |
version |
The version number right now is always v0. |
TRUE upon successful verification, otherwise an error is thrown.
https://api.slack.com/authentication/verifying-requests-from-slack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.