Upload file to folder
documentedUpload a file to a specific folder.
POST /Files/{FolderId}Filesno 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.xero.com/files.xro/1.0/Files/{{$FolderId}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "xero-tenant-id: {{$xero_tenant_id}}" \
-H "Idempotency-Key: {{$idempotency_key}}" \
-F "body=@{{$path_to_file}};type={{$mimeType}}" \
-F "name={{$name}}" \
-F "filename={{$filename}}"