I got it this to work now.
But now my issue is that it keeps saying Unauthenticated: The API key provided is incorrect, or there was none provided on my invision community website, as shown in the screenshot. I also need to get rid of the HTML code and just show the content.
When I go to https://widget.perscom.io/{widgetId}?apikey={apiKey}&perscomid={perscomId} using the widget id, my API key and my perscom id, It keeps saying Forbidden: The API key you provided does not have access to the widget.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.