Conversations

Admin Conversations Get Conversation Prefs

GET
/admin.conversations.getConversationPrefs

Get conversation preferences for a public or private channel.

Authorization

slackAuth admin.conversations:read
AuthorizationBearer <token>

In: header

Scope: admin.conversations:read

Query Parameters

channel_id*string

The channel to get preferences for.

Header Parameters

token*string

Authentication token. Requires scope: admin.conversations:read

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/admin.conversations.getConversationPrefs?channel_id=string" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "prefs": {    "can_thread": {      "type": [        "string"      ],      "user": [        "string"      ]    },    "who_can_post": {      "type": [        "string"      ],      "user": [        "string"      ]    }  }}