TeamPreferences
Retrieve a list of a workspace's team preferences.
Select
The TeamPreferences view returns a single row containing the current workspace's preferences. The endpoint accepts no filters; all queries map to the same underlying API call.
SELECT * FROM TeamPreferences SELECT MsgEditWindowMins, WhoCanPostGeneral FROM TeamPreferences
DisableFileUploads Values
Possible values returned in DisableFileUploads include disallow_all, allow_all, type:owner,type:admin, and type:regular.
Limitations
TeamPreferences cannot be called with an Enterprise organization token; Slack returns the enterprise_is_restricted error in that case. A workspace-level token is required.
Columns
| Name | Type | References | Description |
| IsDisplayRealNamesEnabled | Boolean | Indicates whether real names are displayed in the workspace. | |
| DisableFileUploads | String | Workspace file-upload restriction setting. Possible values include disallow_all, allow_all, type:owner,type:admin, and type:regular. | |
| MsgEditWindowMins | Integer | Number of minutes a message can be edited after posting. | |
| WhoCanPostGeneral | String | Identifies who can post in the #general channel. |