title: How to get GitHub pull requests for an organization repo via the v3 API?
body: <p>I can't seem to get the pull requests for my organization's private repository using the API. I've gotten myself an OAuth2 access token which works fine. For example, this call works and returns valid JSON (<code>apaidnerd</code> would be my username and <code>blog</code> would be a public repo):</p>
  
  <pre><code>https://api.github.com/repos/apaidnerd/blog/pulls?access_token=xxxxxxxxxxx
  </code></pre>
  
  <p>But this URL (<code>myorg</code> is the organization name and <code>secretrepo</code> is a private repo):</p>
  
  <pre><code>https://api.github.com/repos/myorg/secretrepo/pulls?access_token=xxxxxxxxxxxx
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>{ "message": "Not Found" }
  </code></pre>
  
  <p>Update: The second URL works if I try <code>curl -u apaidnerd http://...</code> from the command line. Must be a problem with my OAuth token...</p>