How to setup dynamic google calendar Oauth with Vapi Assistant?
Use case: I want to log in a user (in my SaaS) using Google Calendar and then create a voice assistant using Vapi that helps book meetings in the user’s calendar.
The Vapi Create Assistant API (https://docs.vapi.ai/api-reference/assistants/create) has the option to connect dynamic credentials (using GoogleCalendarOAuth2AuthorizationCredential), which requires an authorizationId.
What is this authorizationId, and how do I obtain it?
I have set up custom OAuth with Google Calendar in my app and am getting access/refresh tokens for each user.
How do I get the authorizationId from those tokens, or is there another way? Is it mandatory to use the https://www.nango.dev/ service?
The Vapi Create Assistant API (https://docs.vapi.ai/api-reference/assistants/create) has the option to connect dynamic credentials (using GoogleCalendarOAuth2AuthorizationCredential), which requires an authorizationId.
What is this authorizationId, and how do I obtain it?
I have set up custom OAuth with Google Calendar in my app and am getting access/refresh tokens for each user.
How do I get the authorizationId from those tokens, or is there another way? Is it mandatory to use the https://www.nango.dev/ service?
Ship the integrations your customers need with 300+ APIs. Try now for free.
