Invalid JWT when trying access calendar in gohighlevel

When I try to check the calendar in GoHighLevel to see if there is an available time slot using a function call inside a multi prompt on Retellai.com, I am getting an invalid JWT back from GoHighLevel. I have checked and I know I am using the right GoHighLevel api key, the right calendar ID, and the right user ID.

What am I doing wrong?




I think you need to use the “Make an API Key Auth Request” module first, have it send that to this URL: https://services.leadconnectorhq.com/oauth/token

Then capture the token, and add header to your HTTP request module:

Authorization
Bearer TOKEN