Calendar
Start connecting a calendar
Returns a URL that a person must open in a browser to grant access. This cannot be completed headlessly — there is no way to connect a calendar from a server alone. Hand the link to your user, then poll the connection list or take the calendar.connected webhook to learn when it finished.
post
https://api-notetaker.nabrah.ai/ext/v1/calendar/connect-linksجسم الطلب
providerenumمطلوبgooglewebexالطلب
curl -X POST https://api-notetaker.nabrah.ai/ext/v1/calendar/connect-links \
-H "Authorization: Bearer $NABRAH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "google"
}'الاستجابات
201A URL a person must open.401No key, an unknown key, or one that has been revoked or has expired.403The key is read only, or lacks the reach for this route.404No such record — or one that belongs to another account.422The body or query failed validation; details names the field.429Too many requests. Retry-After says how long to wait.{
"data": {}
}