openapi: 3.1.0 info: version: '1.0' title: Slack Admin Access Teams API description: "The Slack Admin API is a set of privileged endpoints\x14primarily under admin.* with related SCIM and Audit Logs APIs\x14that lets Enterprise Grid owners and admins automate organization\x11 wide management and governance. It covers user lifecycle (provision, suspend, assign roles), workspace and channel administration across workspaces (create, move, archive channels; manage membership and settings), app governance (approve/deny or allowlist/ban apps and install them to workspaces), invite request handling, and security/compliance controls such as information barriers, session and authentication policies, and org\x11level analytics exports. These APIs require elevated admin scopes and are commonly used to power automated onboarding/offboarding, centralized channel and app controls, and integrations with identity, ITSM, and compliance systems." tags: - name: Teams paths: /admin.teams.admins.list: get: tags: - Teams description: List all of the admins on a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.admins.list operationId: getAdminTeamsAdminsList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: limit in: query description: The maximum number of items to return. schema: type: integer - name: cursor in: query description: Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string - name: team_id in: query required: true schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: admin_ids: - U1234 ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams Admins List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.create: post: tags: - Teams description: Create an Enterprise team. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.create operationId: postAdminTeamsCreate parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_domain - team_name type: object properties: team_domain: type: string description: Team domain (for example, slacksoftballteam). team_name: type: string description: Team name (for example, Slack Softball Team). team_description: type: string description: Description for the team. team_discoverability: type: string description: Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. application/json: schema: required: - team_domain - team_name type: object properties: team_domain: type: string description: Team domain (for example, slacksoftballteam). team_name: type: string description: Team name (for example, Slack Softball Team). team_description: type: string description: Description for the team. team_discoverability: type: string description: Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true team: T12345 default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Create x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.list: get: tags: - Teams description: List all teams on an Enterprise organization externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.list operationId: getAdminTeamsList parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: limit in: query description: The maximum number of items to return. Must be between 1 - 100 both inclusive. schema: type: integer - name: cursor in: query description: Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true teams: - discoverability: hidden id: T1234 name: My Team primary_owner: email: bront@slack.com user_id: W1234 team_url: https://subarachnoid.slack.com/ default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.owners.list: get: tags: - Teams description: List all of the owners on a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.owners.list operationId: getAdminTeamsOwnersList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: team_id in: query required: true schema: type: string - name: limit in: query description: The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer - name: cursor in: query description: Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true owner_ids: - U1234 default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams Owners List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.info: get: tags: - Teams description: Fetch information about settings in a workspace externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.info operationId: getAdminTeamsSettingsInfo parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: team_id in: query required: true schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true team: default_channels: array domain: string email_domain: string enterprise_id: string enterprise_name: string icon: array id: string name: string default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams Settings Info x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setDefaultChannels: post: tags: - Teams description: Set the default channels of a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setDefaultChannels operationId: postAdminTeamsSettingsSetdefaultchannels requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_ids - team_id - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' team_id: type: string description: ID for the workspace to set the default channel for. channel_ids: type: string description: An array of channel IDs. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setdefaultchannels x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setDescription: post: tags: - Teams description: Set the description of a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setDescription operationId: postAdminTeamsSettingsSetdescription parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - description - team_id type: object properties: team_id: type: string description: ID for the workspace to set the description for. description: type: string description: The new description for the workspace. application/json: schema: required: - description - team_id type: object properties: team_id: type: string description: ID for the workspace to set the description for. description: type: string description: The new description for the workspace. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setdescription x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setDiscoverability: post: tags: - Teams description: An API method that allows admins to set the discoverability of a given workspace externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setDiscoverability operationId: postAdminTeamsSettingsSetdiscoverability parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - discoverability - team_id type: object properties: team_id: type: string description: The ID of the workspace to set discoverability on. discoverability: type: string description: This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. application/json: schema: required: - discoverability - team_id type: object properties: team_id: type: string description: The ID of the workspace to set discoverability on. discoverability: type: string description: This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setdiscoverability x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setIcon: post: tags: - Teams description: Sets the icon of a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setIcon operationId: postAdminTeamsSettingsSeticon requestBody: content: application/x-www-form-urlencoded: schema: required: - image_url - team_id - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' image_url: type: string description: Image URL for the icon team_id: type: string description: ID for the workspace to set the icon for. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Seticon x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setName: post: tags: - Teams description: Set the name of a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setName operationId: postAdminTeamsSettingsSetname parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - name - team_id type: object properties: team_id: type: string description: ID for the workspace to set the name for. name: type: string description: The new name of the workspace. application/json: schema: required: - name - team_id type: object properties: team_id: type: string description: ID for the workspace to set the name for. name: type: string description: The new name of the workspace. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setname x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /dnd.teamInfo: get: tags: - Teams description: Retrieves the Do Not Disturb status for up to 50 users on a team. externalDocs: description: API method documentation url: https://api.slack.com/methods/dnd.teamInfo operationId: getDndTeaminfo parameters: - name: token in: query description: 'Authentication token. Requires scope: `dnd:read`' schema: type: string - name: users in: query description: Comma-separated list of users to fetch Do Not Disturb status for schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true users: U023BECGF: dnd_enabled: true next_dnd_end_ts: 1450423800 next_dnd_start_ts: 1450387800 W058CJVAA: dnd_enabled: false next_dnd_end_ts: 1 next_dnd_start_ts: 1 default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - dnd:read summary: Slack Get Do Not Disturb Team Information x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /team.accessLogs: get: tags: - Teams description: Gets the access logs for the current team. externalDocs: description: API method documentation url: https://api.slack.com/methods/team.accessLogs operationId: getTeamAccesslogs parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin`' required: true schema: type: string - name: before in: query description: End of time range of logs to include in results (inclusive). schema: type: string - name: count in: query schema: type: string - name: page in: query schema: type: string responses: '200': description: This response demonstrates pagination and two access log entries. content: application/json: schema: title: team.accessLogs schema required: - logins - ok - paging type: object properties: logins: minItems: 1 uniqueItems: true type: array items: type: object additionalProperties: false ok: $ref: '#/components/schemas/defs_ok_true' paging: $ref: '#/components/schemas/objs_paging' additionalProperties: false description: Schema for successful response from team.accessLogs method example: logins: - count: 1 country: US date_first: 1422922864 date_last: 1422922864 ip: 127.0.0.1 isp: BigCo ISP region: CA user_agent: SlackWeb Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.35 Safari/537.36 user_id: U45678 username: alice - count: 1 country: US date_first: 1422922493 date_last: 1422922493 ip: 127.0.0.1 isp: BigCo ISP region: CA user_agent: SlackWeb Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B466 Safari/600.1.4 user_id: U12345 username: white_rabbit ok: true paging: count: 100 page: 1 pages: 1 total: 2 default: description: 'A workspace must be on a paid plan to use this method, otherwise the `paid_only` error is thrown:' content: application/json: schema: title: team.accessLogs error schema required: - error - ok type: object properties: callstack: type: string description: 'Note: PHP callstack is only visible in dev/qa' error: type: string enum: - paid_only - over_pagination_limit - not_authed - invalid_auth - account_inactive - token_revoked - no_permission - org_login_required - user_is_bot - invalid_arg_name - invalid_array_arg - invalid_charset - invalid_form_data - invalid_post_type - missing_post_type - team_added_to_org - invalid_json - json_not_object - request_timeout - upgrade_required - fatal_error ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from team.accessLogs method example: error: paid_only ok: false security: - slackAuth: - admin summary: Slack Get Team Accesslogs x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /team.billableInfo: get: tags: - Teams description: Gets billable users information for the current team. externalDocs: description: API method documentation url: https://api.slack.com/methods/team.billableInfo operationId: getTeamBillableinfo parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin`' required: true schema: type: string - name: user in: query description: A user to retrieve the billable information for. Defaults to all users. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: billable_info: U02UCPE1R: billing_active: true U02UEBSD2: billing_active: true U0632EWRW: billing_active: false ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin summary: Slack Get Team Billableinfo x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /team.info: get: tags: - Teams description: Gets information about the current team. externalDocs: description: API method documentation url: https://api.slack.com/methods/team.info operationId: getTeamInfo parameters: - name: token in: query description: 'Authentication token. Requires scope: `team:read`' required: true schema: type: string - name: team in: query description: Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: team.info schema required: - ok - team type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' team: $ref: '#/components/schemas/objs_team' additionalProperties: false description: Schema for successful response from team.info method example: ok: true team: domain: example email_domain: example.com enterprise_id: E1234A12AB enterprise_name: Umbrella Corporation icon: image_102: https://... image_132: https://... image_34: https://... image_44: https://... image_68: https://... image_88: https://... image_default: true id: T12345 name: My Team default: description: Typical error response content: application/json: schema: title: team.info error schema required: - error - ok type: object properties: callstack: type: string description: 'Note: PHP callstack is only visible in dev/qa' error: type: string enum: - not_authed - invalid_auth - account_inactive - token_revoked - no_permission - invalid_arg_name - invalid_array_arg - invalid_charset - invalid_form_data - invalid_post_type - missing_post_type - team_added_to_org - invalid_json - json_not_object - request_timeout - upgrade_required - fatal_error ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from team.info method example: error: invalid_auth ok: false security: - slackAuth: - team:read summary: Slack Get Team Info x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /team.integrationLogs: get: tags: - Teams description: Gets the integration logs for the current team. externalDocs: description: API method documentation url: https://api.slack.com/methods/team.integrationLogs operationId: getTeamIntegrationlogs parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin`' required: true schema: type: string - name: app_id in: query description: Filter logs to this Slack app. Defaults to all logs. schema: type: string - name: change_type in: query description: Filter logs with this change type. Defaults to all logs. schema: type: string - name: count in: query schema: type: string - name: page in: query schema: type: string - name: service_id in: query description: Filter logs to this service. Defaults to all logs. schema: type: string - name: user in: query description: Filter logs generated by this users actions. Defaults to all logs. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: team.integrationLogs schema required: - logs - ok - paging type: object properties: logs: minItems: 1 uniqueItems: true type: array items: type: object additionalProperties: false ok: $ref: '#/components/schemas/defs_ok_true' paging: $ref: '#/components/schemas/objs_paging' additionalProperties: false description: Schema for successful response from team.integrationLogs method example: ok: true default: description: Typical error response content: application/json: schema: title: team.integrationLogs error schema required: - error - ok type: object properties: callstack: type: string description: 'Note: PHP callstack is only visible in dev/qa' error: type: string enum: - not_authed - invalid_auth - account_inactive - token_revoked - no_permission - org_login_required - user_is_bot - invalid_arg_name - invalid_array_arg - invalid_charset - invalid_form_data - invalid_post_type - missing_post_type - team_added_to_org - invalid_json - json_not_object - request_timeout - upgrade_required - fatal_error ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from team.integrationLogs method example: error: invalid_auth ok: false security: - slackAuth: - admin summary: Slack Get Team Integrationlogs x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /team.profile.get: get: tags: - Teams description: Retrieve a team's profile. externalDocs: description: API method documentation url: https://api.slack.com/methods/team.profile.get operationId: getTeamProfileGet parameters: - name: token in: query description: 'Authentication token. Requires scope: `users.profile:read`' required: true schema: type: string - name: visibility in: query description: Filter by visibility. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: team.profile.get success schema required: - ok - profile type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' profile: type: object additionalProperties: false additionalProperties: false description: Schema for successful response from team.profile.get method example: ok: true profile: fields: - hint: Enter the extension to reach your desk id: Xf06054AAA is_hidden: 1 label: Phone extension options: null ordering: 0 possible_values: null type: text - hint: When you were born id: Xf06054BBB label: Date of birth options: null ordering: 1 possible_values: null type: date - hint: Enter a link to your Facebook profile id: Xf06054CCC label: Facebook options: null ordering: 2 possible_values: null type: link - hint: Hogwarts, obviously id: Xf06054DDD label: House options: null ordering: 3 possible_values: - Gryffindor - Hufflepuff - Ravenclaw - Slytherin type: options_list - hint: Office location (LDAP) id: Xf06054EEE label: Location options: is_protected: 1 ordering: 4 possible_values: null type: text - hint: The boss id: Xf06054FFF label: Manager options: null ordering: 5 possible_values: null type: user default: description: Typical error response content: application/json: schema: title: team.profile.get error schema required: - error - ok type: object properties: callstack: type: string description: 'Note: PHP callstack is only visible in dev/qa' error: type: string enum: - not_authed - invalid_auth - account_inactive - no_permission - user_is_bot - invalid_arg_name - invalid_array_arg - invalid_charset - invalid_form_data - invalid_post_typ - missing_post_type - team_added_to_org - invalid_json - json_not_object - request_timeou - upgrade_required ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from team.profile.get method example: error: invalid_auth ok: false security: - slackAuth: - users.profile:read summary: Slack Get Team Profile Get x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK