Nexcloud webdav integration by API

Good morning. I’m looking for an API that can permit to integrate Nextcloud webdav to rocketchat. The idea is to send webdav url, user password, username to Rocketchat and the Nextcloud webdav will be integrated. I have looked for such API in Nextcloud Forum and they invited me to search it in Rocketchat side. Does such API exists ? If not, how long can it take to create it for us ?