link icon
Ask The Community

TeamViewer is one of the winners of the European Customer Centricity Award 🥳

Please find more information here.

Sharing Groups Through API


I am trying to use the Team Viewer API to manage various users and devices.

The aim is to be able to connect to a device without a password with dynamic permissions set through the API.

I am running into an issue when trying to Share a group of devices with a user. Everything is setup for it to work. If I do everything through the API except sharing the group and I do this through the TeamViewer Management Console, all works perfectly. However, if I call the API to share the group, the share appears on the Management Console but access is not granted.

The API call I am making is:
POST:<MY GROUP ID>/share_group
With the body:
    "users": [
            "userid":"u**Please do not post TeamViewer IDs**",

According to the API documentation this should work however, despite the share appearing on the front end, the connection still requests a password.

Am i doing something wrong or is this non functional within the API?

Please help