powered by
Invite user to workspace
invite_to_workspace( workspace_id, email, role = "member", verbose = TRUE, token = get_todoist_api_token() )
NULL (invisible)
id of the workspace
email of the user to invite
role for the user (e.g., "member", "admin")
boolean that make the function verbose
todoist API token
if (FALSE) { invite_to_workspace("12345", "user@example.com") }
Run the code above in your browser using DataLab