Preview the new Organization Invitation API
We're releasing two new endpoints that allow you to programmatically invite new members to an organization using their email or user ID.
New endpoints
Changes to existing endpoints
- We've added two new fields to the existing List pending organization invitations API:
team_count
andinvitation_teams_url
.
To access these new API endpoints during the preview period, you must provide a custom media type in the Accept
header:
application/vnd.github.dazzler-preview+json
During the preview period, we may change aspects of this API endpoint based on developer feedback. If we do, we will announce the changes here on the developer blog, but we will not provide any advance notice.
If you have any questions or feedback, please let us know!