Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.
Options

Panopto Public API authentication failing

edited August 2023 in API

Hello,

Is it correct that the Panopto Public API page https://yourpanoptoserver/Panopto/Api/Docs/index.html (url changed our Panopto server address) should authenticate me when I am also logged in into the corresponding Panopto server based on the cookie? In case this page is a live API, it is not explained anywhere clearly (that I could find) that it is meant to work like that. I am confused, because if I open any of the endpoints listed, I find input boxes, but they are all disabled:

It seems that the documentation (e.g. https://support.panopto.com/s/article/api-0) assumes users already know this is intended to work like that, but it is not mentioned specifically.

But the main issue is that I can't get it working to experiment with it. My account has the roles Administrator, Creator and Viewer. I tried different browsers some with third party cookies disabled, other browser with it enabled, but I don't see how I can experiment with that.


So my questions are:

  • how is it intended to work and could you please update the documentation?
  • what browser settings are needed for this to work?

Thanks,

Jaap

Tagged:

Best Answer

  • Options
    Kevin BaumKevin Baum Panopto Employee
    Answer ✓

    Hi Jaap,

    Our Public REST API documentation is not currently setup for API use directly from that page, which is why the input fields are all disabled. The Panopto REST API also uses OAuth2 access tokens, rather than cookies for authentication.

    For testing API calls out manually, I recommend using Postman or similar software. You can usually input the required OAuth2 client credentials and the client type for Postman to automatically get an access token for you to add to the API calls to the public API.

    Please let me know if you have any other questions.

    Thanks,

    Kevin

Sign In or Register to comment.