Sample - Slack Web API
GET/chat.scheduledMessages.list

List scheduled messages

Lists messages that are scheduled for delivery. Use channel, latest, and oldest to limit the results, and use cursor to continue from a previous page. The response includes scheduled message records and pagination metadata.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

6 parameters
channelstringoptional
The channel whose scheduled messages to list.
latestnumberoptional
UNIX timestamp defining the latest point in the time range.
oldestnumberoptional
UNIX timestamp defining the earliest point in the time range.
limitintegeroptional
The maximum number of original entries to return.
cursorstringoptional
Pagination cursor from a previous response's `response_metadata.next_cursor` value.
tokenstringoptional
Authentication token with the `none` scope.

2 status codes
200Returns an array of scheduled messages and `response_metadata` containing the next pagination cursor.
okbooleanrequired
Allowed:true
response_metadataobjectrequired
scheduled_messagesarray<object>required
defaultReturned when the supplied channel or another request argument is invalid.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
Allowed:invalid_channelnot_authedinvalid_authaccount_inactivetoken_revokedno_permissionorg_login_requiredekm_access_deniedmissing_scopeinvalid_argumentsinvalid_arg_nameinvalid_charset
okbooleanrequired
Allowed:false

Error handling

latest and oldest must be UNIX timestamps when supplied. Use the cursor returned in response_metadata.next_cursor to continue pagination, and provide a valid channel identifier when filtering by channel.