provider conversations POST /conversations.setPurpose
@utdk/slack /conversations.setPurpose
conversations_setPurpose
Sets the purpose for a conversation.
token header
Authentication token. Requires scope: `conversations:write`
string

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

conversationsSetpurpose
POST/conversations.setPurpose
Sets the purpose for a conversation.

Input

Conversation to set the purpose of

A new, specialer purpose

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.conversationsSetpurpose()