Invite people to a site
invite_peopleAdds email addresses to a site's list and emails each new one an invitation from the account. Use only addresses the person gave you — never guess, infer or look one up. comment lets them comment as well as open it.
Instructions
Adds email addresses to a site's list and emails each new one an invitation from the account. Use only addresses the person gave you — never guess, infer or look one up. comment lets them comment as well as open it. Inviting does not make the site private; update_site's invitedOnly: true does. On plans with private sharing; all or nothing — one bad address, or a list past the plan's limit, adds nobody.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | `view` (the default) to open the site, `comment` to open it and comment. | |
| site | Yes | Subdomain or site id, from list_sites. | |
| emails | Yes | The addresses, exactly as the person gave them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | Addresses added and emailed. | |
| total | Yes | How many are on the list now. | |
| alreadyListed | Yes | Addresses already on the list, left as they were and not emailed again. |