29 lines
1.1 KiB
Markdown
29 lines
1.1 KiB
Markdown
---
|
|
title: Repository invitations
|
|
allowTitleToDifferFromFilename: true
|
|
shortTitle: Invitations
|
|
intro: >-
|
|
Use the REST API to view and manage invitations to collaborate on a
|
|
repository.
|
|
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
|
fpt: '*'
|
|
ghae: '*'
|
|
ghec: '*'
|
|
ghes: '*'
|
|
topics:
|
|
- API
|
|
autogenerated: rest
|
|
---
|
|
|
|
## About repository invitations
|
|
|
|
You can view and manage invitations to collaborate on a repository. The invited users (or external services on behalf of invited users) can choose to accept or decline the invitations.
|
|
|
|
To add a user as a collaborator, use the Collaborators endpoints instead. For more information, see "[AUTOTITLE](/rest/collaborators/collaborators#add-a-repository-collaborator)."
|
|
|
|
Note that the `repo:invite` [OAuth scope](/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps) grants targeted
|
|
access to invitations **without** also granting access to repository code, while the
|
|
`repo` scope grants permission to code as well as invitations.
|
|
|
|
<!-- Content after this section is automatically generated -->
|