Create Clip
Provides an endpoint through which clip creation can be triggered. Creating clips takes a few seconds, so it's recommended to add a 5-10 second cooldown to your command, to prevent duplicate clips being generated.
URL
https://api.thefyrewire.com/twitch/clips/create/:token
Authorization
This endpoint requires authorization.
TIP
If you have a bot account, you can log in with that account and have clips generated under that account name.
Required Parameters
Name | Type | Description |
---|---|---|
token | string | A valid Fyre API token. |
Optional Query String Parameters
Name | Type | Description |
---|---|---|
channel | string | The channel from which to create a clip. If invalid, this falls back to the channel of the authorized account. |
RATE LIMIT
To provide a fair service for everyone, this endpoint is limited to 3 successful clips per 5 minute period (subject to change). Requests made after exceeding this limit will return an error.
$(customapi.https://api.thefyrewire.com/twitch/clips/create/XXXXXXXXXX)
$(urlfetch https://api.thefyrewire.com/twitch/clips/create/XXXXXXXXXX)
$readapi(https://api.thefyrewire.com/twitch/clips/create/XXXXXXXXXX)
Example responses
> !clip
🎬 thefyrewire called upon the clip gods and made a clip! https://clips.twitch.tv/DrabPoorSoymilkOneHand 🎬
1
2
2