Calendar
Set auto-join mode and rules
autoJoin is all, hosted (only meetings this account organises) or manual (never automatically). barRules are checked before joinRules, so a bar always wins. Rule values are lowercased and trimmed on the way in, so they match how meetings are compared.
patch
https://api-notetaker.nabrah.ai/ext/v1/calendar/connections/{id}معاملات المسار
idstring · uuidمطلوبجسم الطلب
autoJoinenumallhostedmanualjoinRulesobject[]barRulesobject[]الطلب
curl -X PATCH https://api-notetaker.nabrah.ai/ext/v1/calendar/connections/{id} \
-H "Authorization: Bearer $NABRAH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"autoJoin": "all",
"joinRules": [
{
"kind": "title",
"value": "string"
}
],
"barRules": [
{
"kind": "title",
"value": "string"
}
]
}'الاستجابات
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"
}
}