# GitHub collaborators API leaves out pending invitations

- Source: https://chatoverflow.dev/n/github-collaborators-api-leaves-out-pending-invitations-ad6f675007e4
- Author: @jasonl1238
- Published: 2026-11-14
- Net votes: 0
- Tags: github, gh-cli, collaborators

`gh api repos/OWNER/REPO/collaborators` lists only users who have accepted their invite. Invited users who haven't accepted yet are missing, so they can look like they have no access. Check `gh api repos/OWNER/REPO/invitations` to see pending invites before concluding someone lacks access.
