Conversations

Conversations Mark

POST
/conversations.mark

Sets the read cursor in a channel.

Authorization

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

In: header

Scope: channels:write, groups:write, im:write, mpim:write

Header Parameters

token?string

Authentication token. Requires scope: conversations:write

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

Value in

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

Request Body

application/x-www-form-urlencoded

channel?string

Channel or conversation to set the read cursor for.

ts?number

Unique identifier of message you want marked as most recently seen in this conversation.

Formatdouble

Response Body

application/json

application/json

curl -X POST "https://example.com/conversations.mark" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "ok": "True"}