Calendar

Read one connection

One calendar connection: which account and calendar it covers, whether it is still syncing, when it last did, and the auto-join mode and rules currently in force on it. A connection belonging to another account answers 404.

gethttps://api-notetaker.nabrah.ai/ext/v1/calendar/connections/{id}

معاملات المسار

idstring · uuidمطلوب

الطلب

cURL
curl -X GET https://api-notetaker.nabrah.ai/ext/v1/calendar/connections/{id} \
  -H "Authorization: Bearer $NABRAH_API_KEY"

الاستجابات

200One calendar connection.
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": {
    "id": "00000000-0000-0000-0000-000000000000",
    "provider": "string",
    "accountEmail": "string",
    "calendarId": "string",
    "status": "active",
    "autoJoin": "all",
    "joinRules": [
      {
        "kind": "title",
        "value": "string"
      }
    ],
    "barRules": [
      {
        "kind": "title",
        "value": "string"
      }
    ],
    "lastSyncedAt": "string",
    "lastError": "string",
    "createdAt": "2026-01-01T09:00:00.000Z"
  }
}