It should be 18. This is will work if you use RuntimePermissions.GetSafeDirExternal to get the folder path.
Google documentation:
For example, beginning with Android 4.4 (API level 19), it's no longer necessary for your app to request the
WRITE_EXTERNAL_STORAGE permission when your app wants to write to its own application-specific directories on external storage (the directories provided by
getExternalFilesDir()). However, the permission
is required for API level 18 and lower. So you can declare that this permission is needed only up to API level 18 with a declaration such as this:
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
This way, beginning with API level 19, the system will no longer grant your app the
WRITE_EXTERNAL_STORAGE permission.
This attribute was added in API level 19.