admin_conversations_getConversationPrefs
GET
/admin.conversations.getConversationPrefs https://slack.com/api
Get conversation preferences for a public or private channel.
Parameters
query Query Parameters
| Name | Type |
|---|---|
channel_id
required
The channel to get preferences for. | string |
header Header Parameters
| Name | Type |
|---|---|
token
required
Authentication token. Requires scope: | string |
Responses
200 application/json
Typical success response
{ ok: DefsOkTrue ;prefs?: { can_thread?: { type?: string[];user?: string[]; };who_can_post?: { type?: string[];user?: string[]; }; }; }
default application/json
Typical error response
{ error: "feature_not_enabled" | "not_an_admin" | "not_an_enterprise" | "restricted_action" | "missing_scope" | "channel_not_found" | "channel_type_not_supported" | "could_not_get_conversation_prefs";ok: DefsOkFalse ; }