Skip to main content

List Pending Invitations

The return hash contains a role field which refers to the Organization Invitation role and will be one of the following values: direct_member, admin, billing_manager, hiring_manager, or reinstate. If the invitee is not a GitHub member, the login field in the return hash will be null.

External Documentation

To learn more, visit the GitHub documentation.


OrgThe name of the organization.
PagePage number of the results to fetch.
Per PageThe number of results per page (max 100).
Return All PagesAutomatically fetch all resources, page by page.

Example Output

"value": [
"created_at": "2016-11-30T06:46:10-08:00",
"email": "",
"failed_at": "",
"failed_reason": "",
"id": 1,
"invitation_teams_url": "",
"inviter": {
"avatar_url": "",
"events_url": "{/privacy}",
"followers_url": "",
"following_url": "{/other_user}",
"gists_url": "{/gist_id}",
"gravatar_id": "",
"html_url": "",
"id": 1,
"login": "other_user",
"node_id": "MDQ6VXNlcjE=",
"organizations_url": "",
"received_events_url": "",
"repos_url": "",
"site_admin": false,
"starred_url": "{/owner}{/repo}",
"subscriptions_url": "",
"type": "User",
"url": ""
"login": "monalisa",
"node_id": "MDQ6VXNlcjE=",
"role": "direct_member",
"team_count": 2

Automation Library Example

List Pending Invitations with Github and Send Results Via Email

Automation LibraryPreview this Automation on desktop