# Twitch API Documentation

This is the complete API documentation for connecting to the Twitch API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Twitch connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/twitch/actions/{actionSlug}/run
```

## Twitch actions

- POST `create-channel-stream-schedule-segment` Create Channel Stream Schedule Segment
- POST `create-clip` Create Clip
- POST `create-custom-rewards` Create Custom Rewards
- POST `create-poll` Create Poll
- POST `create-prediction` Create Prediction
- DELETE `delete-channel-stream-schedule-segment` Delete Channel Stream Schedule Segment
- DELETE `delete-custom-reward` Delete Custom Reward
- PUT `end-poll` End Poll
- PUT `end-prediction` End Prediction
- GET `get-channel-stream-schedule` Get Channel Stream Schedule
- GET `get-chat-settings` Get Chat Settings
- GET `get-stream-key` Get Stream Key
- GET `list-channel-editors` List Channel Editors
- GET `list-channel-emotes` List Channel Emotes
- GET `list-channel-followers` List Channel Followers
- GET `list-channel-information` List Channel Information
- GET `list-chatters` List Chatters
- GET `list-clips` List Clips
- GET `list-custom-rewards` List Custom Rewards
- GET `list-followed-channels` List Followed Channels
- GET `list-followed-streams` List Followed Streams
- GET `list-games` List Games
- GET `list-polls` List Polls
- GET `list-predictions` List Predictions
- GET `list-streams` List Streams
- GET `list-top-games` List Top Games
- GET `list-users` List Users
- GET `list-videos` List Videos
- PUT `modify-channel-information` Modify Channel Information
- GET `search-categories` Search Categories
- GET `search-channels` Search Channels
- PUT `update-channel-stream-schedule-segment` Update Channel Stream Schedule Segment
- PUT `update-chat-settings` Update Chat Settings
