Conversations

Conversations Replies

GET
/conversations.replies

Retrieve a thread of messages posted to a conversation

Authorization

slackAuth channels:history, groups:history, im:history, mpim:history
AuthorizationBearer <token>

In: header

Scope: channels:history, groups:history, im:history, mpim:history

Query Parameters

token?string

Authentication token. Requires scope: conversations:history

channel?string

Conversation ID to fetch thread from.

ts?number

Unique identifier of a thread's parent message. ts must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by ts will return - it is just an ordinary, unthreaded message.

Formatdouble
latest?number

End of time range of messages to include in results.

Formatdouble
oldest?number

Start of time range of messages to include in results.

Formatdouble
inclusive?boolean

Include messages with latest or oldest timestamp in results only when either timestamp is specified.

limit?integer

The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.

Formatint32
cursor?string

Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection.

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/conversations.replies" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "has_more": true,  "messages": [    null  ],  "ok": "True"}