I’m wondering if it is possible to list all organization invitations for the authenticated user, just like you can do with collaboration invitations.
The only useful endpoint I’ve found is:
-List organizations for authenticated user: https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#list-organizations-for-the-authenticated-user
Which doesn’t display organizations you were invited to.
Also, the only one endpoint you can get an actual invitation from is: https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#list-pending-organization-invitations
that is, for my understanding, you need to provide a specific organization name.
Am I missing something?
Thank you very much.