Add a repository to an app's installation

Hi, I see that there’s this api that allows you to add a repo to an installation (

So when I give it the installation ID of the app I have installed in my user account, and I give it the id of a repo and i want added to the list of repos for that installation, I get a 403 with body {“message”:“Resource not accessible by integration”,“documentation_url”:“”}

I tried to call it with “token myOauthAccessToken” as the authorization header.

Any tips/help?


Hi @aliak00,

Thanks for being here! Are you experiencing this on a private repository?

Hey, yes. It’s one of my own private repos. The docs say I should be able to add a repo as long as I have admin access?


  • Ali