Simple command bot using Slack API
A endpoint for you slack command that returns a hello world! message as response.
| Name | Description | Location | Type | Sample Value |
|---|---|---|---|---|
| x-slack-signature | Signature of the request payload | Header | string | v0=a...3 |
| x-slack-request-timestamp | Timestamp of the request payload | Header | string | 1531420618 |
| JSON Body | Request payload | Body | Object | See Slack docs |
Response
Sample 200 Response:
Hello, World!
Sample 400 Response:
{
"ok": false,
"error": "Missing required fields: x-slack-signature"
}| Setting | Value |
|---|---|
| Runtime | Node (18.0) |
| Entrypoint | src/main.js |
| Build Commands | npm install |
| Permissions | any |
| Timeout (Seconds) | 15 |
Signing secret of you slack app.
| Question | Answer |
|---|---|
| Required | Yes |
| Sample Value | b33...156 |
| Documentation | Slack Docs |