Develop Custom TeamViewer Solutions

The TeamViewer API

Develop Monitor | icon

TeamViewer provides a web-based API that allows you to access data and control various aspects of your TeamViewer account. You can use the API to develop apps that integrate TeamViewer functionality into your own corporate environment or you can develop apps that everyone can use.

The API uses REST to communicate with your application and the secure authorization standard OAuth 2.0 to manage access to all data.

Features

The TeamViewer API for application developers provides access to the following TeamViewer functionality:

User Management

Methods related to a TeamViewer company profile (e. g. create new company member, modify member information).

Group Management

Methods related to groups in your TeamViewer Computers & Contacts list (e. g. create group, share group)

Session Management

Methods related to remote control sessions with TeamViewer (e. g. create new session, modify session information).

Connection reports

Methods related to connection reporting in the TeamViewer Management Console (e. g. list connection reports, export reports).

Online Meetings

Methods related to TeamViewer Meetings (e. g. Schedule meetings, start spontaneous meeting).

Computers & Contacts

Methods related to the TeamViewer Computers & Contacts list (e. g. see who is online, start a remote control session with a contact or device, or batch import new contacts from your address book).

Web Monitoring

Methods related to get monitors, alarms data and create and manage monitors (e.g. get list of all monitors, get monitor check results for specified date and/or interval, or create uptime or page load monitor).

Monitoring and Patch Management

Methods related to get list of monitoring and patch management policies and activating the monitoring and patch management services.

Sample Use Cases

  • Create a service case out of a customer’s ticket within your help desk.
  • Integrate a “Request a support session” button into your web application.
  • Extract connection reports from the TeamViewer Management Console into Excel for further processing and generating statistics.
  • Automatically export connections reports from the TeamViewer Management Console every night for offline and flexible usage (e. g. for billing).
  • Quickly import the entire support team into your TeamViewer company profile.
  • Automatically create a new TeamViewer account for every new user in your Active Directory.
  • Start a meeting from within a chat app and invite chat partners directly.
  • Schedule a meeting in a third-party calendar app.
  • See if a contact from your CRM is online in TeamViewer and directly ask them to start a remote control session to their computer.
  • Directly connect to a computer from within your favorite asset management system, using the password that is stored in your Computers & Contacts list.
  • Get list of all monitors and based on the monitor ID get the check results for specified date or get alarms data for specified monitor.
  • Get list of device and monitoring as well as patch management policy IDs to activate Monitoring and Patch Management services.

Get Started

Get started and develop an app or script. TeamViewer API uses OAuth 2.0 and Script tokens as well as Client IDs.

Start developing right now

Developing your own application is easy. Follow the steps below or jump right into the API documentation. to get started right away.

In the TeamViewer API, two different ways of using the API are distinguished: Either through Scripts or through Apps.

Apps are developed to be used by many different accounts. Because of this, Scripts and Apps have different ways of accessing TeamViewer data, represented by different types of tokens.

If you want to use the API for your own data only, create a script token. Don’t worry if you change your mind later, you can still migrate to an App with ease. If you want to create an App to be used by other TeamViewer customers, go ahead and create an OAuth 2.0 Client ID.

Create Account

You need a TeamViewer account to use the TeamViewer API.

The easiest why to do so, is to visit the TeamViewer Management Console website. Sign up for an account at the left site of the page.

Create a TeamViewer account in the TeamViewer Management Console to develop a TeamViewer app or script with the TeamViewer API | Screenshot

Create Script

Open your profile settings in the TeamViewer Management Console | Screenshot

Open Management Console

To create a script, you have to log in to the TeamViewer Management Console with your TeamViewer account.

In the Console, open your profile settings in the top right of the website.

Create Script

  1. Enter your script name
  2. Enter a description for your script
  3. Choose the permissions of your script
  4. Save the script

Please find further information in the API documentation.

Create a new script that can be used with your own TeamViewer account | Screenshot
Write down the script token from the script's properties. You will need it later | Screenshot

Write down Token

Write down the Token from the properties of the script you created recently.
You will need the Token in the developing process.

Please find more information about the Token in the API documentation.

Start Coding

You can now start writing your own script using the API documentation. or you can use your token in one of our example scripts.

Create Application

Open the Apps menu in the TeamViewer Management Console | Screenshot

Open Management Console

To create an application, log in to the TeamViewer Management Console with your TeamViewer account.

In the Console, open the Apps link in the footer of the website.

Create App

  1. Enter an application name
  2. Enter a description for your application
  3. Enter the Redirect URI.
    Users are redirected to the URI after granting your application access to their data. If set, only authorization requests will be granted that use the given Redirect URI. Can be changed later.
  4. Choose an access level
  5. Choose the permissions of your app
  6. Save the app

Please find further information in the API documentation.

Create a new app that can be used with any TeamViewer account using the methods of OAuth 2.0 | Screenshot
Write down the Client ID from the script's properties. You will need it later | Screenshot

Write down Client ID and Client secret

Write down the Client ID and the Client secret from the properties of the app you created recently.
You will need them in the developing process.

Please find more information about the Client ID in the API documentation.

Start Coding

You can now start writing your own application using the API documentation.

API Documentation

The TeamViewer API and its references, specifications and methods are documented in the TeamViewer API documentation | Icon

The documentation of the TeamViewer API provides a detailed description of the available methods (including examples for the method calls) as well as basic information on using the API.

You can download the TeamViewer API documentation as a PDF below.

Examples

Use the pre-built scripts to get some helpful impressions for developing integrations.

Our example scripts

We provide some pre-built scripts to help you to get started with developing your own applications.
The scripts are available for PowerShell and Python.
Download the scripts for User ManagementReporting and Active Directory or take a look at the examples below to get some helpful impressions.
Please find further information about the used API methods in the TeamViewer API documentation.

Code example: Service queue

With the service queue, you can manage customer support cases in your TeamViewer and the TeamViewer Management Console.

This example provides an application that creates a service case. Using the attached program code you are able to comprehend how you can integrate the service queue features in your own application environment. You can download the app and C# code below.

Using the code example for the TeamViewer API, you can develop an application that creates service cases.
Want more? Exclusive deals, the latest news: Our Newsletter!