> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List the Slack workspaces

> Each Slack workspace installed for this Statisfy workspace, newest first, with whether it is the default and the name and avatar Statisfy posts under there.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/slack/workspaces
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/slack/workspaces:
    get:
      tags:
        - integrations
      summary: List the Slack workspaces
      description: >-
        Each Slack workspace installed for this Statisfy workspace, newest
        first, with whether it is the default and the name and avatar Statisfy
        posts under there.
      operationId: integrations_slack_list_workspaces
      parameters:
        - description: Only this Slack app's installs
          in: query
          name: app_id
          required: false
          schema:
            anyOf:
              - maxLength: 32
                pattern: ^A[A-Z0-9]+$
                type: string
              - type: 'null'
            default: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlackWorkspaces'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    SlackWorkspaces:
      properties:
        workspaces:
          items:
            $ref: '#/components/schemas/SlackWorkspace'
          title: Workspaces
          type: array
      required:
        - workspaces
      title: SlackWorkspaces
      type: object
    SlackWorkspace:
      properties:
        app_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The Slack app installed (Statisfy's, or its channel manager)
          title: App Id
        bot_avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          description: 'The avatar Statisfy posts with, without its scheme; null: the app''s'
          title: Bot Avatar Url
        bot_display_name:
          anyOf:
            - type: string
            - type: 'null'
          description: 'The name Statisfy posts under here; null: the app''s name'
          title: Bot Display Name
        can_customize_sender:
          description: >-
            The install lets Statisfy post under the name and avatar below;
            false until it is reinstalled
          title: Can Customize Sender
          type: boolean
        installed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Installed At
        is_default:
          description: Statisfy posts here when a call names no workspace
          title: Is Default
          type: boolean
        workspace_id:
          description: >-
            The Slack workspace's id (T…, or E… for an Enterprise Grid install),
            as GET /workspaces returns it
          title: Workspace Id
          type: string
        workspace_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Name
      required:
        - workspace_id
        - workspace_name
        - is_default
        - installed_at
        - app_id
        - can_customize_sender
        - bot_display_name
        - bot_avatar_url
      title: SlackWorkspace
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.