How to fetch team members of an github org?

Describe the issue/error/question

how to fetch team members of an github org?

What is the error message (if any)?

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm,, desktop app]:

Hey @Manohar_allu,

Looking at the GitHub API docs it looks like you can call /orgs/ORG_NAME/members to get the list of members. It has a catch though… If you are not part of the org you can only see members who have it set to Public if you are in the org you can get both public and concealed.

The example workflow below shows how you could make the call, You will need to set the Header auth token to match the one for your user account.

Example Workflow