powered by
Upload a file
upload_file( file_path, file_name = basename(file_path), verbose = TRUE, token = get_todoist_api_token() )
upload object with file_url
path to the file to upload
name for the uploaded file (defaults to basename of file_path)
boolean that make the function verbose
todoist API token
if (FALSE) { upload <- upload_file("document.pdf") # Use upload$file_url in a comment }
Run the code above in your browser using DataLab