# Create Clip API

**URL:** <https://discuss.dev.twitch.com/t/create-clip-api/25966>\
**Category:** Migration\
**Created:** [May 28, 2020, 4:58pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966 "2020-05-28T16:58:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuzzabi](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wuzzabi/32/8844_2.png) [@wuzzabi](https://discuss.dev.twitch.com/u/wuzzabi)\
**Post date:** [May 28, 2020, 4:58pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/1 "2020-05-28T16:58:34Z")

</div>

I would like to make a bot that makes clips of the best moments of the game, but in 5v it is not available. Why is this removed?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 28, 2020, 5:04pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/2 "2020-05-28T17:04:09Z")

</div>

It was created as a helix end point

It has never been a v5 end point

v5 is deprecated, and should not be used if possible

> **[Reference](https://dev.twitch.tv/docs/api/reference/)**
>
> Twitch Developer tools and services to integrate Twitch into your development or create interactive experience on twitch.tv.

---

<div class="post-metadata">

**Author:** ![wuzzabi](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wuzzabi/32/8844_2.png) [@wuzzabi](https://discuss.dev.twitch.com/u/wuzzabi)\
**Post date:** [May 28, 2020, 5:06pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/3 "2020-05-28T17:06:49Z")

</div>

![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/f/fa83192019fe09292afb010a2beb0bb0b2423cec.png)  
When I`m trying to create a clip

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 28, 2020, 5:07pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/4 "2020-05-28T17:07:45Z")

</div>

What is the URL you are trying to call?

---

<div class="post-metadata">

**Author:** ![wuzzabi](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wuzzabi/32/8844_2.png) [@wuzzabi](https://discuss.dev.twitch.com/u/wuzzabi)\
**Post date:** [May 28, 2020, 5:09pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/5 "2020-05-28T17:09:01Z")

</div>

![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/d/dd5d23090b5ed34a6b29ab7bb902233cf50bcae2.png)  
This example

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 28, 2020, 5:09pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/6 "2020-05-28T17:09:34Z")

</div>

I didn’t ask what the docs say

I asked to see the URL you are calling.  
Or the code you are using.

---

<div class="post-metadata">

**Author:** ![wuzzabi](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wuzzabi/32/8844_2.png) [@wuzzabi](https://discuss.dev.twitch.com/u/wuzzabi)\
**Post date:** [May 28, 2020, 5:12pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/7 "2020-05-28T17:12:54Z")

</div>

> <https://gist.github.com/wuzzabi/d8aac6e3c8641330c2630949184ca816>

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 28, 2020, 5:14pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/8 "2020-05-28T17:14:17Z")

</div>

There is nothing in here that attempts to create a clip

I see some oAuth stuff and some code fetching some details about a clip.

There is no create a clip call

However this call to get the clips details:

```auto
  try {
    const result = await axios.get('https://api.twitch.tv/kraken/clips/AmazonianEncouragingLyrebirdAllenHuhu', {
      headers: {'Client-ID': TWITCH_CLIENT_ID, Authorization: bearer}
    })
    console.log(result.data)
  } catch(err) {
    console.log(err)
  }

```

Is missing a header

```auto
  try {
    const result = await axios.get('https://api.twitch.tv/kraken/clips/AmazonianEncouragingLyrebirdAllenHuhu', {
      headers: {
        'Client-ID': TWITCH_CLIENT_ID,
        Authorization: bearer,
        'Accept': 'application/vnd.twitchtv.v5+json'
      }
    })
    console.log(result.data)
  } catch(err) {
    console.log(err)
  }

```

And

```auto
OAuth2Strategy.prototype.userProfile = function(accessToken, done) {
  var options = {
    url: 'https://api.twitch.tv/helix/users',
    method: 'GET',
    headers: {
      'Client-ID': TWITCH_CLIENT_ID,
      'Accept': 'application/vnd.twitchtv.v5+json',
      'Authorization': 'Bearer ' + accessToken

```

Does not need the Accept header as it’s a call to Helix

---

<div class="post-metadata">

**Author:** ![wuzzabi](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wuzzabi/32/8844_2.png) [@wuzzabi](https://discuss.dev.twitch.com/u/wuzzabi)\
**Post date:** [May 28, 2020, 9:28pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/9 "2020-05-28T21:28:11Z")

</div>

![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/c/c35f7318fc0285d561ca902df36b5785ab99b576.png)  
Not found when I`m trying to create a clip. What the problem?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 28, 2020, 10:52pm UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/10 "2020-05-28T22:52:14Z")

</div>

The URL is

`https://api.twitch.tv/helix/clips?broadcaster_id=123`

And your POST to it

You tried to post to

`https://api.twitch.tv/Pestily/clips?broadcaster_id=123`

---

<div class="post-metadata">

**Author:** ![wuzzabi](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wuzzabi/32/8844_2.png) [@wuzzabi](https://discuss.dev.twitch.com/u/wuzzabi)\
**Post date:** [May 29, 2020, 11:07am UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/11 "2020-05-29T11:07:04Z")

</div>

Is it possible to change the length of the clip with API?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 29, 2020, 11:18am UTC](https://discuss.dev.twitch.com/t/create-clip-api/25966/12 "2020-05-29T11:18:48Z")

</div>

No

See also:

> **[Create Clip enhancements](https://twitch.uservoice.com/forums/310213-developers/suggestions/38855326-create-clip-enhancements)**
>
> When creating a clip via the Create Clip API, it is VERY limited compared to the (not for public use) GraphQL interface. Requesting that the following enhancements be made to the Create Clip API so that 3rd party apps can leverage them:
> 1) Add...
