Invite collaborator
Give a person or group access to a file or folder with a chosen role.
Command in the Box toolkit · id ooa.box/add_collaborator · 9 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Item type | String | Yes | Whether the item is a file or a folder. | |
| Item ID | String | Yes | Id of the file or folder. | |
| String | No | Email address of the person to invite. | ||
| Group ID | String | No | Box group id to invite instead of a person. | |
| Role | String | No | viewer | What they may do with the item. |
| Notify | Boolean | No | true | Send them an email about the invitation. |
| Access token | Credential | Yes | Box access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| As user | String | No | Act on behalf of this Box user id (needs an admin or service account token). Leave empty to act as yourself. | |
| Endpoint address | String | No | https://api.box.com | Box API address. Leave the default unless your administrator gives you another. |
Outputs
| Output | Type | What it is |
|---|---|---|
| collaboration_id | String | Id of the new collaboration, used to remove it later. |