capabilities.work

Get a user's membership role and state in an org

One step with GitHub. We can help you get access.

Look something up

Get a user's membership role and state in an org

with GitHub

Use GitHub: its GitHub v3 REST Orgs API lets you get a user's membership role and state in an org in a single step (GET /orgs/{org}/memberships/{username}). capabilities.work can help you get signed up and connected.

  • Is a user an admin or a regular member of our organization, and is their invitation still pending?
  • What role does a specific person hold in the org?
Say it to your AI assistant
  • Get the membership role and state of {username} in {org}.
  • Tell me whether {username} is pending or active in {org} and what role they have.
For your developer

GET /orgs/{org}/memberships/{username} in GitHub v3 REST Orgs API. Full spec on APIs.io.