> ## 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.

# Set the name and avatar Statisfy posts under in Slack

> Sets the name and avatar of Statisfy's posts in one workspace; only the fields sent change, and null or an empty value goes back to the app's own. Slack shows them only once the install allows a custom sender (`can_customize_sender`). An avatar not on Statisfy's CDN is a 422; a Slack workspace this app is not installed in for this Statisfy workspace is a 404. Returns the workspace.



## OpenAPI

````yaml /api/statisfy-api.openapi.json patch /v1/integrations/slack/workspaces/{workspace_id}/bot-identity
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/{workspace_id}/bot-identity:
    patch:
      tags:
        - integrations
      summary: Set the name and avatar Statisfy posts under in Slack
      description: >-
        Sets the name and avatar of Statisfy's posts in one workspace; only the
        fields sent change, and null or an empty value goes back to the app's
        own. Slack shows them only once the install allows a custom sender
        (`can_customize_sender`). An avatar not on Statisfy's CDN is a 422; a
        Slack workspace this app is not installed in for this Statisfy workspace
        is a 404. Returns the workspace.
      operationId: integrations_slack_update_bot_identity
      parameters:
        - description: >-
            The Slack workspace's id (T…, or E… for an Enterprise Grid install),
            as GET /workspaces returns it
          in: path
          name: workspace_id
          required: true
          schema:
            maxLength: 32
            pattern: ^[TE][A-Z0-9]+$
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                app_id:
                  default: A06LR00GKPA
                  description: The Slack app's install to change; default Statisfy's
                  maxLength: 32
                  pattern: ^A[A-Z0-9]+$
                  title: App Id
                  type: string
                bot_avatar_url:
                  anyOf:
                    - maxLength: 2048
                      type: string
                    - type: 'null'
                  default: null
                  description: >-
                    An image on Statisfy's CDN (uploaded in the app); null or
                    empty: the app's avatar
                  title: Bot Avatar Url
                bot_display_name:
                  anyOf:
                    - maxLength: 80
                      type: string
                    - type: 'null'
                  default: null
                  description: >-
                    The name to post under, 80 characters at most; null or
                    empty: the app's name
                  title: Bot Display Name
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlackWorkspace'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    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.