---
agentTools:
  projectIndex: https://developer.runn.io/llms.txt
---

# Set people permissions and team access when inviting a user

`POST /invitations` accepts `managePeoplePermission` and a `peopleTeams` array, which stages team grants that are applied when the invitation is accepted; `peopleTeams` is returned by `POST /invitations` and `GET /invitations`. Previously the people permission was always copied from `manageOthersPermission`. Teams from another account, or `peopleTeams` sent when `managePeoplePermission` is not `restricted`, return `400` and create no invitation; accounts without the people team permissions feature get `403`. Admin invitees must have `managePeoplePermission` set to `all`, and contributor-type invitees must have it set to `none`.