I am not clear with the API endpoint and JWT token.
Does the API endpoint is an api to our server or a pipedrive api and what should be passed as JWT secret.
Is the JWT Secret something that we get back as a response from OAuth?
Looking into the screenshot, I agree that the placeholder for “API endpoint” makes it confusing and we’ll look into changing it.
Our documentation for JSON panels has a good explanation of how the data loads:
when the page or a panel is reloaded, we will renew the information by requesting information from the API endpoint you provided
…
You will receive an HTTP request to your API with a basic authentication header (defined in Developer Hub as HTTP Auth username and password) or with a JWT and query parameters
JWT secret has to be generated and stored on your side. Thus the next time a request comes to your API endpoint, you’ll be able to decode token and verify that it’s been sent from Pipedrive app.
Please let me know if you have follow up questions.