Upload a file
documentedUpload a file to attach to notes or comments.
POST /sync/v9/uploads/addUploadsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.todoist.com/sync/v9/uploads/add" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-F "file_name={{$filename}}" \
-F "file=@{{$file_path}}"