TeamViewer API - Importing users/CSV

Hi all,

When trying to use either the Ad Sync or CSV Import scripts I receive an "Unable to connect to remote server" error:

Starting CSV import...

Get token...
Request [POST] /api/v1/oauth2/token
Payload: grant_type=authorization_code&code=adQhf3b7&client_id=114265-kjZOQg5yVXS3CPTiipg6&client_secret=Lk31UmNXMlP0yRR
psTt8
Token: Request failed! The error was 'Exception calling "GetRequestStream" with "0" argument(s): "Unable to connect to t
he remote server"'.
Received content was:

Ping API...
Request [GET] /api/v1/ping
Ping: Request failed! The error was 'Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the rem
ote server"'.
Received content was:
No data imported. Token or connection problem.
CSV import finished.

Can anybody confirm whether the API URL is definitely https://webapi.teamviewer.com?

Thanks in advance!

 

 

Comments

  • IT_ResQ
    IT_ResQ Posts: 1 Newbie
    edited February 21

    Hello, I was wondering if there was a simpler way to upload the CSV file that has the computers and contacts. I'm having trouble finding a way to link PowerShell to TeamViewer.