/chat.scheduleMessage
POST
/chat.scheduleMessage
chat
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://slack.com/api/chat.scheduleMessage'
Response Response Example
200 - response
{
"channel": "C1H9RESGL",
"message": {
"attachments": [
{
"fallback": "This is an attachment's fallback",
"id": 1,
"text": "This is an attachment"
}
],
"bot_id": "B19LU7CSY",
"subtype": "bot_message",
"text": "Here's a message for you in the future",
"type": "delayed_message",
"username": "ecto1"
},
"ok": true,
"post_at": "1562180400",
"scheduled_message_id": "Q1298393284"
}
Request
Header Params
token
stringÂ
optional
chat:write
Body Params application/x-www-form-urlencoded
as_user
stringÂ
optional
attachments
stringÂ
optional
blocks
stringÂ
optional
channel
stringÂ
optional
link_names
stringÂ
optional
parse
stringÂ
optional
none
. See chat.postMessage.post_at
stringÂ
optional
reply_broadcast
stringÂ
optional
thread_ts
and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false
.text
stringÂ
optional
thread_ts
numberÂ
optional
ts
value to make this message a reply. Avoid using a reply's ts
value; use its parent instead.unfurl_links
stringÂ
optional
unfurl_media
stringÂ
optional
Responses
Modified at 2023-08-15 05:39:45