Post a message to a Slack channel, DM, or other conversation.
643 matches
Communication/Slack
Post message
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
{
"type": "object",
"required": [
"channel",
"text"
],
"additionalProperties": false,
"properties": {
"channel": {
"type": "string",
"description": "Channel, private group, or DM id (e.g. C1234567890) or name (e.g. #general)."
},
"text": {
"type": "string",
"description": "Message text. Required when blocks is not provided."
},
"thread_ts": {
"type": "string",
"description": "Parent message timestamp for a thread reply."
},
"blocks": {
"type": "array",
"description": "Structured Block Kit blocks (JSON-encoded when sent).",
"items": {
"type": "object"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object"
}
},
"unfurl_links": {
"type": "boolean"
},
"unfurl_media": {
"type": "boolean"
},
"mrkdwn": {
"type": "boolean"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
{
"type": "object",
"required": [
"ok"
],
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"channel": {
"type": "string"
},
"ts": {
"type": "string"
},
"message": {
"type": "object"
},
"error": {
"type": "string"
}
}
}