Slack
Track Slack reply
Detect whether someone replied in Slack after your sent message, returning the reply text.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| channelstring · required | string | required | Slack channel ID where the message was sent (e.g. from send-message response). Example: |
| message_tsstring · required | string | required | Timestamp of our message (ts from send-message response). |
| our_message_user_idstring · required | string | required | User ID of the app/bot that sent the message (message.user from send-message response). Used to ignore our own message when detecting replies. |
| after_tsstring · optional | string | optional | Slack message ts; ignore replies at or before this (exclusive lower bound for "next" reply). |
| identifierstring · optional | string | optional | Connection ID or account name of the Slack account that sent the message. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"hasReplied"
],
"properties": {
"data": {},
"note": {
"type": "string"
},
"status": {
"enum": [
"replied",
"not_replied"
],
"type": "string"
},
"replyText": {
"type": "string",
"description": "Text of the earliest qualifying reply (for sentiment analysis)."
},
"hasReplied": {
"type": "boolean"
},
"replyMessageTs": {
"type": "string"
}
},
"additionalProperties": false
}