The Create Clip API lets you create a Twitch clip from a monitored channel and automatically post the clip link to Discord. It returns the Twitch chat message that was posted.
Base URL
This is the base URL to call the this public API endpoint:
Parameters
The following parameters are needed.
key
You can find or create your API key from your User Dashboard.
command
The ID of the Clip Command to use. You can find this ID on your Clip Commands page in the User Dashboard.
user
The Twitch username of the user that triggered the clip creation.
title
An optional title for the clip. Leave empty if not needed.
Final Request URL
This is the final request URL that should be called using your parameters.
Send Test Request
Click on the button below to send a test request using the parameters above.
API Response
The response from the AI will appear here after you send a request.
A quick explanation of the response data:
| Name | Description |
| response | The Twitch chat message that can be posted to the channel after the clip was created. |
cURL Example
You can also call the API directly from the command line using cURL:
Rate Limit & Queue Prioritization
These are the current rate limits for this API. Please note that these limits may change at any time according to our Fair Use Policy.
Twitch has a "global rate limit" on creating clips. Unfortunately this means that it can sometimes break if a lot of people in the world create clips simultaneously.
It takes 1 minute until you will see the clip in Discord. I have deliberately added this delay, to give Twitch enough time to create thumbnails and other assets.
StreamElements
If you want to create a !clip command using StreamElements, create a new custom command and paste this URL below as the response type.
NightBot
If you want to create a !clip command using NightBot, create a new custom command and paste this URL below as the message.
Streamlabs Cloudbot
If you want to create a !clip command using Streamlabs Cloudbot, create a new custom command and paste this URL below as the response.