Nextcloud integration
How to connect Nextcloud with the sipgate App to sync your self-hosted contacts and make calls.
Nextcloud enables you to manage your data on your own cloud server without having to hand over data sovereignty to companies like Google or Apple. With a mix of self-hosting and private cloud computing, Nextcloud offers individualized, better data protection than commercial US cloud providers.
With sipgate, you can make calls directly from Nextcloud and use your contacts in the sipgate app. This way, you always see which contact is currently calling and do not have to switch between different tools. sipgate is your phone system with the telephony app for desktop and mobile.
Integration of Nextcloud in the sipgate app
Select integration
In the sipgate app, click the gear icon on the left and select the item "Integrations".
Under the "Integrations" section, search for the entry "Nextcloud" and click the "Connect with Nextcloud" button. 
Enter API data
Enter the required API key and API URL here.
Important: The API key must be entered in the format "Username:Webtoken".
Copy the API URL from the address field in the browser window of your Nextcloud instance.

Confirm connection
You have now successfully connected Nextcloud and the sipgate app.
Note: Depending on the number of contacts to be integrated, it may take a few minutes before they are displayed completely.
Find or create the API key in your Nextcloud account
Click on your user icon in the top right of your Nextcloud instance, then open the menu item "Administration settings".

Now select "Security" on the left under the heading "Personal".

Errors and solutions:
Error: “Invalid credentials” with self-hosted Nextcloud
self-hosted Nextcloud
Most likely, the sipgate app will not be able to connect successfully and will report the error: “Invalid credentials”. Cause: requests are not forwarded to Nextcloud via WebDAV in the self-set-up web server/load balancer/etc. Information:
WebDAV:
Here you can create the required web token (API key). If you have already created web tokens in the past, they can be deleted, revoked, or renamed here. Please note that the actual tokens (API keys) can only be viewed and copied once when they are created.
Scroll to the bottom of the page, enter any name in the "App name" field, and then click the "Create new app password" button.

Please note the instructions shown and copy the newly created token. Finally, click the "Done" button. 
Last updated

