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

# Introduction to SCAPI

> What is SCAPI?

# What is SCAPI?

SCAPI (Strawberry Chat API) is the API for, you guessed it, Strawberry Chat. It allows developers to make custom bot
for Strawberry Chat.

# Supported scapi versions in Strawberry Chat

First of all, you should be aware that Strawberry Chat uses a new communication system as of v1.9.0.
Our internal name for this is `stbm` or Strawberry Communication System.

[Find out more about the new communication system](/stbchat/stbm)

For supported versions, see this chart below

|                               | v1.8.0 - v1.8.2 ![](https://img.shields.io/badge/Legacy-green) | v1.8.3 ![](https://img.shields.io/badge/Legacy-gray) | v1.9.0 ![](https://img.shields.io/badge/Stable-success) |
| ----------------------------- | -------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------------- |
| Legacy `(stbmv1)` `v1.0.0`    | ✅                                                              | ✅                                                    | ❌²                                                      |
| Stable `(stbmv2)` `v0.12.0`   | ✅ (CM¹)                                                        | ✅ (CM¹)                                              | ✅                                                       |
| Stable `(stbmv2)` `>=v0.12.1` | ✅ (CM³)                                                        | ✅ (CM³)                                              | ✅                                                       |

<Tip>
  ### Compatibility Mode (CM)

  As of Scapi v0.12.0, we have added a feature that allows bots to connect to old servers.
  This is called Compatibility Mode.
  [See more](/json-communication/introduction)
</Tip>

<Warning>Manual configuration of the compatibility mode is currently only available for Scapi v0.12.1.</Warning>

**¹** Scapi `v0.12.0 (stbmv2)` does not have manual configuration of the compatibility mode. You must change an argument in Scapi's source code for the configuration.
We therefore recommend to always use the latest available version from our [GitHub branch](https://github.com/Strawberry-Foundations/strawberry-chat/tree/main)

**²** Scapi Legacy `v1.0.0/v0.11.0` only supports the old, legacy communication system `(stbmv1)` (*Server v1.8.1 or lower*).
Using `v0.11.0` on a newer server (v1.9.0 or higher) will result in broken messages

**³** To enable compatibility mode for Strawberry Chat, you need to change the assigned value for `json` to `False`.
This could look like the following:

```python theme={null}
Bot = Scapi.Bot(username=username, token=token, host=host, port=port, json=False)
```

[Find out more about the new communication system and how it works with Scapi](/scapi/usage#write-your-first-bot-stbmv2)
