> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/t/teamviewer.md).

# TeamViewer

TeamViewer is a remote access and support platform. OctoXLabs reads the devices of the Computers & Contacts list and, optionally, the devices managed by the token account. It also reads the company users.

## Use cases

* List the devices registered in TeamViewer.

```
Adapters = teamviewer
```

* Find TeamViewer devices that no endpoint detection tool reports.

```
Adapters = teamviewer AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                        | Port | Protocol |
| ------------------- | -------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | TeamViewer Web API (default webapi.teamviewer.com) | 443  | HTTPS    |

The connector always uses HTTPS on the default port. An optional HTTP proxy can be set.

### Required permissions

| Scope or role                      | Permission | Needed for |
| ---------------------------------- | ---------- | ---------- |
| Script token: Computers & Contacts | Read       | Devices    |
| Script token: User management      | Read       | Users      |

The source instructions grant read access to the Computers & Contacts and User management resources so that the adapter can fetch devices and users.

## Create credentials in TeamViewer

{% stepper %}
{% step %}

### Open Apps

Sign in to the TeamViewer Management Console and open **Edit profile** > **Apps**.
{% endstep %}

{% step %}

### Create a script token

Click **Create script token**. Grant read access to the **Computers & Contacts** and **User management** resources.
{% endstep %}

{% step %}

### Save the token

Save the generated token. It is shown only once.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type     | Default               | Description                                                                                                                                       |
| --------------------- | -------- | -------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain                | No       | Text     | webapi.teamviewer.com | Base domain of the TeamViewer Web API. Change it only for regional or OEM variants.                                                               |
| Token                 | Yes      | Password |                       | Script token or company access token, sent as a Bearer token.                                                                                     |
| Fetch managed devices | No       | Boolean  | False                 | Also collect the devices managed by the token account through the Remote Management endpoint. Leave it off if the account has no managed devices. |
| Timeout               | No       | Integer  | 30                    | Seconds to wait for API responses.                                                                                                                |
| Proxy URL             | No       | Text     |                       | Proxy address.                                                                                                                                    |

## Troubleshooting

The connector code does not define adapter specific error messages. Check the connection test result and the connector log.

## Change history

{% hint style="info" %}
Available starting from version 6.7.2.
{% endhint %}
