---
title: "Onboard user to GitHub org and team"
method: POST
path: "/grantpermission/gitHub"
tags: ["GrantPermission"]
---

# Onboard user to GitHub org and team

`POST /grantpermission/gitHub`

Invites user to the GitHub organization and adds them to a team.
Requires JWT authentication.

## Request body

- object
  - `teamName` string, required — GitHub team slug
  - `handle` string, required — GitHub username

## Response `200`

GitHub onboarding result

- object
  - `orgMembershipStatus` string — Organization membership status
  - `teamMembershipStatus` string — Team membership status
  - `publicMembership` string — Public membership visibility (if applicable)
  - `twoFAenabled` boolean — Whether 2FA is enabled (if applicable)

## Other responses

- `400` — Bad request

---

[API](https://skmtc.dev/hackforla/apis/vrms-api.md) · [All operations](https://skmtc.dev/hackforla/apis/vrms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackforla/vrms-api/revisions/092c34cc0e58/schema)
