I am attempting to access the REST API on my VVX 600 phone using Postman. I've updated the phone to release 184.108.40.20647, 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?
Solved! Go to Solution.
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.
Thanks Jeff, I have provided your feedback to the documentation team. Please mark this post as solved if you are happy with the solution.