Google Calendar integration
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?
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?