Skip to main content
POST
/
v1
/
slack
/
answer
Answer Slack
curl --request POST \
  --url https://api.example.com/v1/slack/answer \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>",
  "token": "<string>",
  "team_id": "<string>",
  "context_team_id": "<string>",
  "context_enterprise_id": "<string>",
  "api_app_id": "<string>",
  "event": {
    "client_msg_id": "<string>",
    "type": "<string>",
    "text": "<string>",
    "user": "<string>",
    "ts": "<string>",
    "team": "<string>",
    "channel": "<string>",
    "event_ts": "<string>",
    "channel_type": "<string>"
  },
  "event_id": "<string>",
  "event_time": "<string>",
  "event_context": "<string>",
  "is_ext_shared_channel": true,
  "challenge": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json
type
string
required
token
string
team_id
string
context_team_id
string
context_enterprise_id
string
api_app_id
string
event
SlackMessageEventPayload · object
event_id
string
event_time
string
event_context
string
is_ext_shared_channel
boolean
challenge
string

Response

Successful Response