Send a message

Use this API for sending for both plain text and interactive messages.

Query Params
string
enum
Allowed:
Body Params
string
required
Defaults to channelId

email or public/private channel or DM Id

string
enum
required
Defaults to DM / channel
Allowed:
string

The message that needs to be delivered

json
Defaults to {"sections":[{"sectionType":"textBlock","text":"This is sample text"},{"sectionType":"keyValueSet","values":[{"key":"Key1","value":"value1"},{"key":"key2","value":"Value2"}]}],"interactiveComponents":[{"id":"approveBtn","label":"Approve","value":"value1","style":"primary","interactiveComponentType":"button"},{"label":"Deny","id":"denyBtn","value":"value2","style":"danger","interactiveComponentType":"button"},{"label":"Neutral","id":"neutralBtn","value":"value3","interactiveComponentType":"button"}],"destination":"https://38f0-110-235-237-164.in.ngrok.io/slack"}
Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json