Highlighted
Posted by ngoc_anh
Henagon

Can not create session

I create session but i'm get error "Failed to parse input"

i use postman and sent method POST from link:

https://webapi.teamviewer.com/api/v1/sessions?groupid=g75436837

my error:

{
    "error": "invalid_request",
    "error_description": "Failed to parse input.",
    "error_code": 1
}

 I try use api get full list session and it run success, but i create session same above i get error. Please help me, thanks.

1 Reply
1 Reply
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can not create session

Hello,

you need to put the parameters (e.g. groupid) in JSON format into the request body.

Please check the example in our API documentation on page 32.

Team Lead Product Development (Enterprise)

Did my reply answer your question? To help others, please accept it as solution. Thanks!