diff --git a/changelog.mdx b/changelog.mdx index c1db3554d..e17f74b58 100644 --- a/changelog.mdx +++ b/changelog.mdx @@ -7,6 +7,20 @@ keywords: ["changelog", "API updates", "release notes", "what's new", "API chang To subscribe to updates, please [**“Turn on notifications”**](https://help.x.com/en/managing-your-account/notifications-on-mobile-devices#:~:text=In%20the%20top%20menu,%20you,you%20would%20like%20to%20receive) for [**@API**](https://x.com/api). You can also follow this changelog in your feed reader via the [**RSS feed**](https://docs.x.com/changelog/rss.xml). + + ### Bot accounts for the Chat API + + Today, we added [bot endpoints](/xchat/bots) to the Chat API. Bots are programmatic X accounts owned by your project, authenticated with a bearer token instead of a login, and labeled "Automated by @owner". + + Six new `/2/bots` endpoints let you: + + - [Create a bot](/x-api/bots/create-a-bot) and [list your project's bots](/x-api/bots/get-bots) + - [Update a bot's identity](/x-api/bots/update-bot) (handle, display name, DM permissions) and [delete a bot](/x-api/bots/delete-bot) + - [Rotate](/x-api/bots/rotate-bot-token) or [revoke](/x-api/bots/revoke-bot-token) a bot's bearer token + + All six endpoints use OAuth 2.0 app-only authentication. See the [Bots guide](/xchat/bots) to get started. + + ### Updated `video_total_views` definition