Get a connect link
GET
Returns the link the person opens to connect Google Calendar or an Outlook calendar. They sign in on the provider's own page; VoiceLayer never sees their password. Connecting again, or approving one more permission, uses the same link.
Requires an API key with the calendar:use scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
app*stringWhich calendar to connect: google or outlook.
Value in
"google""outlook"The link to open and what to do with it
application/json- response
url*stringapp*stringsummary*stringcurl "https://api.vlayers.ai/v1/calendar/connect?app=google" \ -H "Authorization: Bearer $VOICELAYER_API_KEY"Example Response
{ "url": "https://vlayers.ai/dashboard/connections/connect/google-calendar", "app": "Google Calendar", "summary": "Open this link and sign in to Google Calendar; it takes under a minute and I can use it right after: https://vlayers.ai/dashboard/connections/connect/google-calendar"}