> For the complete documentation index, see [llms.txt](https://docs.streamavatars.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.streamavatars.com/stream-avatars/support/new-platform-additions.md).

# New Platform Additions

1. **Have enough of a following to be worth adding the integration.**
2. **Access to platform's API**
3. **OAuth2 with scopes (Stream Login & Bot Login)**
4. **Check Bearer-token user-id and user-displayName**
5. **Chat-read / Chat-write (preferably web-sockets)** \
   **(needs to be able to write-to-chat from bot OAuth-bearer into the channel of the Streamer)**
6. A way to check if the user is following or subscribing to the channel. (Ideally this information is passed along with Chat-read messages (bonus: with other events as well).
7. OnUserFollow event (optional - preferably web-sockets)
8. OnUserSubscribe event (optional - preferably web-sockets)
9. PlatformCurrency event (optional - example: twitch-bits)
10. Platform Loyalty Points Custom Redemption (optional)

## Platforms that have failed these requirements

* Tiktok Live (the API is restricted to only users with over 1000 or so followers, so I cannot attempt trying to add integration)
* Picarto (the developers of this platform do not seem to prioritize api/integrations. They take several months to years to respond to emails. This platform failed at chat-write requirements. Their chat-bot system is cumbersome and poorly made)&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.streamavatars.com/stream-avatars/support/new-platform-additions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
