invite_to_workspace: Invite user to workspace

View source: R/workspaces.R

invite_to_workspaceR Documentation

Invite user to workspace

Description

Invite user to workspace

Usage

invite_to_workspace(
  workspace_id,
  email,
  role = "member",
  verbose = TRUE,
  token = get_todoist_api_token()
)

Arguments

workspace_id

id of the workspace

email

email of the user to invite

role

role for the user (e.g., "member", "admin")

verbose

boolean that make the function verbose

token

todoist API token

Value

NULL (invisible)

Examples

## Not run: 
invite_to_workspace("12345", "user@example.com")

## End(Not run)

rtodoist documentation built on Feb. 14, 2026, 5:06 p.m.