Plantronics + Polycom. Now together as Poly Logo

Authorization method for REST API on VVX Phones

SOLVED
Occasional Contributor

Authorization method for REST API on VVX Phones

I am attempting to access the REST API on my VVX 600 phone using Postman. I've updated the phone to release 5.9.4.3247, enabled the REST API, and changed the default Admin password.

 

Using Postman, I am attempting to invoke the Safe Restart API call by using POST to https://192.168.10.65/api/v1/mgmt/safeRestart (where 192.168.10.65 is the IP address of the device). However, I simply get 401 Unauthorized in response.

I am assuming I need some form of Authorization, but nowhere in the documentation does it describe what method I should be using (API Key, Bearer Token, Basic Auth, Digest Auth, etc.). I tried basic using "Admin" for the user and the admin password, but that failed. I see that others have been successful here. . .does anyone have a screenshot of Postman that they can use to illustrate the Authorization that should be used?

Message 1 of 4
3 REPLIES 3
Polycom Employee

Re: Authorization method for REST API on VVX Phones

Please check https://community.polycom.com/t5/VoIP-SIP-Phones/FAQ-REST-API/td-p/98914
You will use Basic auth, user Polycom
Regards,
Leonardo Mezzanotti
Message 2 of 4
Occasional Contributor

Re: Authorization method for REST API on VVX Phones

Thanks. . .the issue was that I was using the actual "Admin" user and not "Polycom." I tried again with Basic Auth using "Polycom" as the user name and everything worked as expected.

The API documentation really should be clear about this.

Message 3 of 4
Highlighted
Polycom Employee

Re: Authorization method for REST API on VVX Phones

Thanks Jeff, I have provided your feedback to the documentation team. Please mark this post as solved if you are happy with the solution.

Regards,
Leonardo Mezzanotti
Message 4 of 4