Conversations

Conversations Set Purpose

POST
/conversations.setPurpose

Sets the purpose for a conversation.

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

Conversation to set the purpose of

purpose?string

A new, specialer purpose

Response Body

application/json

application/json

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