capabilities.work

Onboard a Member into an Organization

A 2-step recipe with GitHub. We can help you get access.

Recipe · 2 steps

Onboard a Member into an Organization

with GitHub

Verify an organization then set a user's membership role.

  1. Read the organization to confirm it exists before changing membership.
  2. Set the membership role for the user in the verified organization, inviting them if they are not yet a member.
What you'll need to have ready
  • githubToken: A GitHub token with org admin scope, passed as a Bearer credential.
  • org: The login of the organization.
  • username: The handle of the user to onboard.
  • role: The membership role to assign (admin or member).
For your developer

Arazzo workflow github:onboard-org-member, 2 operations: orgs/get → orgs/set-membership-for-user. Specs on APIs.io.