/conversations.history
GET
/conversations.history
conversations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://slack.com/api/conversations.history'
Response Response Example
200 - response
{
"has_more": true,
"messages": [
{
"text": "I find you punny and would like to smell your nose letter",
"ts": "1512085950.000216",
"type": "message",
"user": "U012AB3CDE"
},
{
"text": "What, you want to smell my shoes better?",
"ts": "1512104434.000490",
"type": "message",
"user": "U061F7AUR"
}
],
"ok": true,
"pin_count": 0,
"response_metadata": {
"next_cursor": "bmV4dF90czoxNTEyMDg1ODYxMDAwNTQz"
}
}
Request
Query Params
token
stringÂ
optional
conversations:history
channel
stringÂ
optional
latest
numberÂ
optional
oldest
numberÂ
optional
inclusive
stringÂ
optional
limit
integerÂ
optional
cursor
stringÂ
optional
cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection. See pagination for more detail.Responses
Modified at 2023-08-15 05:39:45