---
title: "bot_changed event"
summary: "A bot user was changed"
url: "https://docs.slack.dev/reference/events/bot_changed"
type: "reference"
subtype: "event"
event_name: "bot_changed"
apis:
  - "RTM"
---

Source: https://docs.slack.dev/reference/events/bot_changed

# bot_changed event

### A bot user was changed

## Facts

**Required Scopes**

No scopes required!

**Compatible APIs**

[`RTM`](https://docs.slack.dev/legacy/legacy-rtm-api.md)

## Usage info {#usage-info}

This example includes both the [event wrapper](https://docs.slack.dev/apis/events-api.md#callback-field) and the [event structure](https://docs.slack.dev/apis/events-api.md#event-type-structure) for the `bot_changed` event.

```json
{
    "token": "XXYYZZ",
    "team_id": "T123ABC456",
    "api_app_id": "A123ABC456",
    "event": {
        "type": "bot_changed",
        "bot": {
            "id": "B024BE7LH",
            "app_id": "A4H1JB4AZ",
            "name": "hugbot",
            "icons": {
                "image_48": "https://slack.com/path/to/hugbot_48.png"
            }
        }
    },
    "type": "event_callback",
    "authorizations": [
        {
            "team_id": "T123ABC456",
            "user_id": "U123ABC456",
            "is_bot": false,
            "is_enterprise_install": false,
        }
    ],
    "event_id": "Ev123ABC456",
    "event_time": 123456789
}
```

The `bot_changed` event is sent to all connections for a workspace when an integration "bot" is updated. Clients can use this to update their local list of bots. If the bot belongs to a Slack app, the event will also include an `app_id` pointing to its parent app.
