Is there a way to get a users pins with the GitHub REST API?

Hi, I am trying to find a way to get a users pins with the GitHub REST API, but I can’t seem to find a way.
I have tried looking at /user/{username} (Didn’t contain pins data or a URL to any) and /user/{username}/pins (404)
Is there something I am missing?

Hi @Kale-Ko

The GraphQL API usery query has field pinnedItems if its a list of repositories and gists this profile owner has pinned to their profile.

1 Like