# Get Clips returns empty

**URL:** <https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649>\
**Category:** API\
**Created:** [January 27, 2024, 6:00am UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649 "2024-01-27T06:00:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![0407](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0407](https://discuss.dev.twitch.com/u/0407)\
**Post date:** [January 27, 2024, 6:00am UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/1 "2024-01-27T06:00:25Z")

</div>

New to coding so bear with.

When I try to get clips for a user I get no data in the response. Ex:  
{“data”:,“pagination”:{}}

I also found that I didn’t specify a scope for my token, so I suspect that may have something to do with it. Is there a scope that would be appropriate for getting clips for a given user? I see clips:edit in the list of scopes. Is there a clips:read as well? Or is this a separate issue? Thanks for the help.

---

<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:** [January 27, 2024, 12:31pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/2 "2024-01-27T12:31:46Z")

</div>

> [@0407](#):
>
> When I try to get clips for a user I get no data in the response. Ex:  
> {“data”:,“pagination”:{}}

Which broadcaster did you lookup/what is the API call you are making?

---

<div class="post-metadata">

**Author:** ![0407](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0407](https://discuss.dev.twitch.com/u/0407)\
**Post date:** [January 27, 2024, 7:16pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/3 "2024-01-27T19:16:57Z")

</div>

Apologies if I don’t use the right terminology. I’m very new so please correct me.

I tried a few different IDs, including Twitch’s ID which I know has clips, so I must be missing something. Here is the curl I’m using:

curl -X GET “[https://api.twitch.tv/helix/clips?id=12826&first5](https://api.twitch.tv/helix/clips?id=12826&first5)” ^ -H “Authorization: Bearer \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*” ^ -H “Client-Id: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*”

This returns data/pagination, so it seems it’s pointing the the right place, but there are no values. Do I need a different param instead of ID?

I WAS able to get a correct response with this using my same bearer/client-Id, so I know they at least work for this type of user data request:  
curl -X GET “[https://api.twitch.tv/helix/users?login=twitch](https://api.twitch.tv/helix/users?login=twitch)” ^ -H “Authorization: Bearer \*\*\*\*\*\*\*\*\*\*\*\*\*\*” ^ -H “Client-Id: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*”

I did validate my token and it says “scopes”:null, which is why I thought that could be a factor, but yet I am able to use it for some calls it seems. Appreciate any help!

---

<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:** [January 27, 2024, 7:19pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/4 "2024-01-27T19:19:33Z")

</div>

> [@0407](#):
>
> curl -X GET “[https://api.twitch.tv/helix/clips?id=12826&first5”](https://api.twitch.tv/helix/clips?id=12826&first5%E2%80%9D) ^ -H “Authorization: Bearer

There is no clip of id `12826`

Clip ID’s are the “slug” of the clip which are word like in nature.

If you want the clips of broadcaster/user `12826` then you’d call `clips?broadcaster_id=12826`

But `12826` returns no data as thats not a valid ID.

So for user Twitch of id `12826` an example clip has ID `CrispyJollyGullHassaanChop-nPlLKGxGRcBj37e4`

So it seems you tried to use `id` to get clips of the Twitch channel

---

<div class="post-metadata">

**Author:** ![0407](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0407](https://discuss.dev.twitch.com/u/0407)\
**Post date:** [January 27, 2024, 7:54pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/5 "2024-01-27T19:54:21Z")

</div>

Great, thanks. I was able to get the response of a specific clip using that clip ID.

I am trying to find clips for a given user, so I must’ve gotten the IDs confused. As you said I need to use broadcaster\_id (I’ll have to go back through the documentation on how to find get broadcaster\_id)

---

<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:** [January 27, 2024, 7:55pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/6 "2024-01-27T19:55:44Z")

</div>

> [@0407](#):
>
> As you said I need to use broadcaster\_id (I’ll have to go back through the documentation on how to find get broadcaster\_id)

You already know:

> [@0407](#):
>
> I WAS able to get a correct response with this using my same bearer/client-Id, so I know they at least work for this type of user data request:  
> curl -X GET “[https://api.twitch.tv/helix/users?login=twitch”](https://api.twitch.tv/helix/users?login=twitch%E2%80%9D) ^ -H “Authorization: Bearer \*\*\*\*\*\*\*\*\*\*\*\*\*\*” ^ -H “Client-Id: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*”

A “broadcaster ID” is a “user ID” jsut labelled differently to help describe the two (or more) entities in a request/response

---

<div class="post-metadata">

**Author:** ![0407](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0407](https://discuss.dev.twitch.com/u/0407)\
**Post date:** [January 27, 2024, 10:49pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/7 "2024-01-27T22:49:15Z")

</div>

Ah! Finally got it to work. Continuing with Twitch as the example, [https://api.twitch.tv/helix/clips?broadcaster\_id=12826](https://api.twitch.tv/helix/clips?broadcaster_id=12826) got a response with data. Worked with others as well. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [February 26, 2024, 10:49pm UTC](https://discuss.dev.twitch.com/t/get-clips-returns-empty/54649/8 "2024-02-26T22:49:37Z")

</div>

Closed on February 26, 2024, 10:49pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
