Skip to content

`POST /v1/integrations/slack/commands`.

POST
/v1/integrations/slack/commands
curl --request POST \
--url https://api.updawg.net/v1/integrations/slack/commands \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data ''

A slash command, byte for byte as Slack signed it.

Media typeapplication/x-www-form-urlencoded
string

The answer (DAWG-315): only for the person who typed it, or in the channel when it ends with share. With blocks as Slack lays them out, text the fallback. One that takes longer than Slack’s three seconds allow says so, and its answer follows through the command’s response_url.

Media typeapplication/json

A reply to a slash command: Slack shows text, to the person who typed it only when response_type is ephemeral.

object
response_type
required
string
text
required
string

Example generated

{
"response_type": "example",
"text": "example"
}

Not signed by this region’s Slack app, or more than five minutes old.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

This deployment has no Slack app: slack-unavailable.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}