API for accessing Nextcloud password protected shared URLs?

As the title says, I’m curious on if there is an API for accessing password protected shared urls. I’ve been perusing the API wrapper documentation and am not clear. This would be in order to use the Tusky app + password protected shared URL’s in Nextcloud.