Add workspace member
workspace_member_addAdd or invite someone (member: an email, alias or account id). An email no verified person holds becomes an invite: the result has status 'invited' and an inviteUrl that is safe to share with them. Default membership is internal (sees everything); use external for shared items only. Default role editor. Internal admins and editors may add; changing an existing member's access needs an admin. Tokenrip emails a new invite or member, naming as inviter the verified address of the person who owns your account (inviting again with the same access resends an invite, at most once an hour). A member added by alias or id is emailed only when their account has exactly one verified person and yours has one to send from. note (at most 280 characters) goes in that email and is refused when none is sent. An email add is refused NO_OPERATOR or OPERATOR_AMBIGUOUS when your account has no single verified person to name as inviter (an alias or id add then goes ahead without an email). RATE_LIMITED past the hourly invite email limits, which count the person's emails from all their accounts: an add of an existing account by alias or id without a note then goes ahead without the email; invites to new addresses, any add by email, and adds with a note are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| note | No | A short note for the invite email, at most 280 characters; refused when the add sends no email. | |
| role | No | editor (the default) or viewer. | |
| member | Yes | Who to add: an email address (an invite when no verified person holds it), an alias, or an account id. | |
| membership | No | internal (the default: sees everything) or external (shared items only). | |
| workspaceId | Yes | The workspace id (UUID). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes |