We announced repository invitation functionality on May 23. Using the site, you can invite collaborators to work on your repository. Invitees will receive an email with the invitation and have the option to accept or decline.
We have now have endpoints for managing repository invitations for both repository administrators and invitation recipients through the GitHub API. You can enable these changes during the preview period by providing a custom media type in the
curl "https://api.github.com/repos/github/hubot/invitations" \ -H 'Authorization: token TOKEN' \ -H "Accept: application/vnd.github.swamp-thing-preview"
If you have any questions or feedback, please let us know.