OpenAssistantAPI

User API

Delegations

Principal delegations: create, confirm, revoke, re-verify

GET/delegations

List delegations for the current user

Query parameters

rolestring
statusstring

Responses

200List
ok reqenumtrue
delegations reqobject[]
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
lockedstring[]
exceptionsany[]
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring
pageinteger
perPageinteger
totalinteger

Request

curl 'https://app.openassistant.us/api/delegations' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "delegations": [
    {
      "id": "string",
      "coordinator": {
        "id": null,
        "type": null
      },
      "principal": {
        "id": null,
        "type": null
      },
      "account": "string",
      "assistant": {
        "id": null
      },
      "status": "pending"
    }
  ]
}
POST/delegations

Create a delegation (coordinator initiates)

Request body

principalId reqstring
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgoogle
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
assistantstring

Responses

201Created
ok reqenumtrue
delegation reqobject
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
lockedstring[]
exceptionsobject[]
idstring
labelstring | null
match reqany...
mode reqenumautotime-boxedmanualdenied
timeBoxedWindowMininteger | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecinteger | null
appliesTostring[]
createdAtstring
createdBystring | null
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/delegations' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "principalId": "507f1f77bcf86cd799439011",
  "delegationSource": "calendar_provider"
}'

Response

{
  "ok": true,
  "delegation": {
    "id": "string",
    "coordinator": {
      "id": "string",
      "type": "user"
    },
    "principal": {
      "id": "string",
      "type": "user"
    },
    "account": "string",
    "assistant": {
      "id": "string"
    },
    "status": "pending"
  }
}
GET/delegations/{id}

Get a delegation

Path parameters

id reqstring

Responses

200Delegation
ok reqenumtrue
delegation reqobject
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
lockedstring[]
exceptionsobject[]
idstring
labelstring | null
match reqany...
mode reqenumautotime-boxedmanualdenied
timeBoxedWindowMininteger | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecinteger | null
appliesTostring[]
createdAtstring
createdBystring | null
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/delegations/<id>' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "delegation": {
    "id": "string",
    "coordinator": {
      "id": "string",
      "type": "user"
    },
    "principal": {
      "id": "string",
      "type": "user"
    },
    "account": "string",
    "assistant": {
      "id": "string"
    },
    "status": "pending"
  }
}
PATCH/delegations/{id}

Update delegation settings

Path parameters

id reqstring

Request body

approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
isDefaultboolean

Responses

200Updated
ok reqenumtrue
delegation reqobject
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
lockedstring[]
exceptionsobject[]
idstring
labelstring | null
match reqany...
mode reqenumautotime-boxedmanualdenied
timeBoxedWindowMininteger | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecinteger | null
appliesTostring[]
createdAtstring
createdBystring | null
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/delegations/<id>' \
  -X PATCH \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "approvalMode": "auto",
  "threadInclusion": "supervised",
  "visibility": "cc",
  "isDefault": true
}'

Response

{
  "ok": true,
  "delegation": {
    "id": "string",
    "coordinator": {
      "id": "string",
      "type": "user"
    },
    "principal": {
      "id": "string",
      "type": "user"
    },
    "account": "string",
    "assistant": {
      "id": "string"
    },
    "status": "pending"
  }
}
POST/delegations/{id}/confirm

Confirm a pending delegation (principal)

Path parameters

id reqstring

Responses

200Confirmed
ok reqenumtrue
delegation reqobject
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
lockedstring[]
exceptionsobject[]
idstring
labelstring | null
match reqany...
mode reqenumautotime-boxedmanualdenied
timeBoxedWindowMininteger | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecinteger | null
appliesTostring[]
createdAtstring
createdBystring | null
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/delegations/<id>/confirm' \
  -X POST \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "delegation": {
    "id": "string",
    "coordinator": {
      "id": "string",
      "type": "user"
    },
    "principal": {
      "id": "string",
      "type": "user"
    },
    "account": "string",
    "assistant": {
      "id": "string"
    },
    "status": "pending"
  }
}
POST/delegations/{id}/revoke

Revoke a delegation

Path parameters

id reqstring

Responses

200Revoked
ok reqenumtrue
delegation reqobject
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
lockedstring[]
exceptionsobject[]
idstring
labelstring | null
match reqany...
mode reqenumautotime-boxedmanualdenied
timeBoxedWindowMininteger | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecinteger | null
appliesTostring[]
createdAtstring
createdBystring | null
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/delegations/<id>/revoke' \
  -X POST \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "delegation": {
    "id": "string",
    "coordinator": {
      "id": "string",
      "type": "user"
    },
    "principal": {
      "id": "string",
      "type": "user"
    },
    "account": "string",
    "assistant": {
      "id": "string"
    },
    "status": "pending"
  }
}
GET/delegations/{id}/principal-preferences

Get the effective scheduling preferences for a delegation's principal

Flat view of the scheduling settings the coordinator manages for this principal. `calendars`, `videoConferencing` and `eventTitles` are coordinator-isolated (stored on the delegation, so two coordinators sharing one principal never stomp on each other); the rest reflects the principal's own Preference. Each `eventTitles` branch carries a `source` saying where the effective template came from: this delegation, the coordinator's own global template, the principal's own, or the platform default. Auth: the coordinator on an ACTIVE delegation.

Path parameters

id reqstring

Responses

200Preferences
ok reqenumtrue
preferences reqobject
timezone reqstring | null
workingHours reqobject | null
MOobject[]
start reqstring
end reqstring
TUobject[]
start reqstring
end reqstring
WEobject[]
start reqstring
end reqstring
THobject[]
start reqstring
end reqstring
FRobject[]
start reqstring
end reqstring
SAobject[]
start reqstring
end reqstring
SUobject[]
start reqstring
end reqstring
bufferType reqstring
bufferLength reqnumber
dailyMeetingLimit reqnumber
virtualDuration reqnumber
inPersonDuration reqnumber
calendars reqobject
read reqstring[]
write reqstring | null
videoConferencing reqobject
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
source reqenumdelegationinheritednull
eventTitles reqobject
internal reqobject | null
useCustomTitles reqboolean | null
solo reqstring | null
oneAttendee reqstring | null
twoAttendees reqstring | null
manyAttendees reqstring | null
source reqenumdelegationcoordinatorprincipalplatformnull
external reqobject | null
useCustomTitles reqboolean | null
oneAttendee reqstring | null
twoAttendees reqstring | null
manyAttendees reqstring | null
source reqenumdelegationcoordinatorprincipalplatformnull
pendingConfirmationenumtrue
skippedstring[]

Request

curl 'https://app.openassistant.us/api/delegations/<id>/principal-preferences' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "preferences": {
    "timezone": "string",
    "workingHours": {
      "MO": [
        {
          "start": null,
          "end": null
        }
      ],
      "TU": [
        {
          "start": null,
          "end": null
        }
      ],
      "WE": [
        {
          "start": null,
          "end": null
        }
      ],
      "TH": [
        {
          "start": null,
          "end": null
        }
      ]
    },
    "bufferType": "string",
    "bufferLength": 0,
    "dailyMeetingLimit": 0,
    "virtualDuration": 0
  }
}
PATCH/delegations/{id}/principal-preferences

Update the scheduling preferences the coordinator manages for a principal

Partial update — only the keys present are touched. `calendars`, `videoConferencing` and `eventTitles` are written to the delegation (never the principal's own Preference); the remaining keys land on the principal's Preference, and `timezone` also on their User record. For `eventTitles`, omitting a branch leaves that branch unchanged and omitting a template inside a branch leaves that template unchanged; `useCustomTitles: null` is the "inherit my own default" state. On a still-PENDING delegation the settings are staged on the delegation and applied when the principal confirms (the response then carries `pendingConfirmation: true` and any `skipped` keys). Auth: the coordinator on the delegation.

Path parameters

id reqstring

Request body

timezonestring
workingHoursobject | null
MOobject[]
start reqstring
end reqstring
TUobject[]
start reqstring
end reqstring
WEobject[]
start reqstring
end reqstring
THobject[]
start reqstring
end reqstring
FRobject[]
start reqstring
end reqstring
SAobject[]
start reqstring
end reqstring
SUobject[]
start reqstring
end reqstring
bufferTypeenumnonemeetingtimeBlock
bufferLengthnumber
dailyMeetingLimitnumber
virtualDurationnumber
inPersonDurationnumber
calendarsobject
readstring[]
writestring | null
videoConferencingobject
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitlesobject
internalobject
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null

Responses

200Updated
ok reqenumtrue
preferences reqobject
timezone reqstring | null
workingHours reqobject | null
MOobject[]
start reqstring
end reqstring
TUobject[]
start reqstring
end reqstring
WEobject[]
start reqstring
end reqstring
THobject[]
start reqstring
end reqstring
FRobject[]
start reqstring
end reqstring
SAobject[]
start reqstring
end reqstring
SUobject[]
start reqstring
end reqstring
bufferType reqstring
bufferLength reqnumber
dailyMeetingLimit reqnumber
virtualDuration reqnumber
inPersonDuration reqnumber
calendars reqobject
read reqstring[]
write reqstring | null
videoConferencing reqobject
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
source reqenumdelegationinheritednull
eventTitles reqobject
internal reqobject | null
useCustomTitles reqboolean | null
solo reqstring | null
oneAttendee reqstring | null
twoAttendees reqstring | null
manyAttendees reqstring | null
source reqenumdelegationcoordinatorprincipalplatformnull
external reqobject | null
useCustomTitles reqboolean | null
oneAttendee reqstring | null
twoAttendees reqstring | null
manyAttendees reqstring | null
source reqenumdelegationcoordinatorprincipalplatformnull
pendingConfirmationenumtrue
skippedstring[]

Request

curl 'https://app.openassistant.us/api/delegations/<id>/principal-preferences' \
  -X PATCH \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "timezone": "string",
  "workingHours": {
    "MO": [
      {
        "start": "string",
        "end": "string"
      }
    ],
    "TU": [
      {
        "start": "string",
        "end": "string"
      }
    ],
    "WE": [
      {
        "start": "string",
        "end": "string"
      }
    ],
    "TH": [
      {
        "start": "string",
        "end": "string"
      }
    ]
  },
  "bufferType": "none",
  "bufferLength": 0
}'

Response

{
  "ok": true,
  "preferences": {
    "timezone": "string",
    "workingHours": {
      "MO": [
        {
          "start": null,
          "end": null
        }
      ],
      "TU": [
        {
          "start": null,
          "end": null
        }
      ],
      "WE": [
        {
          "start": null,
          "end": null
        }
      ],
      "TH": [
        {
          "start": null,
          "end": null
        }
      ]
    },
    "bufferType": "string",
    "bufferLength": 0,
    "dailyMeetingLimit": 0,
    "virtualDuration": 0
  }
}
POST/delegations/{id}/reverify

Force a fresh calendar verification and return updated access health (§2.6.1, §2.6.5)

Runs a provider round-trip against the coordinator's token for this delegation, then updates `accessHealth` (ok | calendar_degraded | calendar_lost) and `lastAccessCheckAt`. Never changes `status` — the watchdog and this endpoint only flag, never demote. Auth: the coordinator on the delegation.

Path parameters

id reqstring

Responses

200Re-verified
ok reqenumtrue
delegation reqobject
id reqstring
coordinator reqobject | string | null
principal reqobject | string | null
account reqstring
assistant reqobject | string | null
status reqenumpendingactiverevoked
initiatedBy reqenumcoordinatorprincipaladminsystem
delegationSource reqenumcalendar_providerplatform
calendarProviderenummicrosoftgooglenull
privateEventAccess reqboolean
isDefault reqboolean
approvalModeenumautomanualrequire_approvalnull
threadInclusionenumsupervisedsemi-supervisedunsupervisednull
visibilityenumccbccnull
confirmedAtstring | null
revokedAtstring | null
revokedBystring | null
deletedForGDPRboolean
lastVerifiedAtstring | null
accessHealth reqenumokcalendar_degradedcalendar_lost
lastAccessCheckAtstring | null
supervisionMatrix reqobject
email_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
email_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
messagingobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
workplace_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_callobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_assistantobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
voice_call_as_userobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
calendarobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
filesobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
driveobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
contactsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
third_party_skillsobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
websiteobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_teamobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_companyobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_externalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
network_internalobject
modeenumautotime-boxedmanualnull
timeBoxedWindowMinnumber | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecnumber | null
lockedstring[]
exceptionsobject[]
idstring
labelstring | null
match reqany...
mode reqenumautotime-boxedmanualdenied
timeBoxedWindowMininteger | null
timeBoxedExpiryenumexecutecancelnull
undoDelaySecinteger | null
appliesTostring[]
createdAtstring
createdBystring | null
calendarSettingsobject | null
readstring[]
writestring | null
videoConferencingSettingsobject | null
conferenceSolutionstring | null
conferenceIntegrationstring | null
meetingLinkstring | null
eventTitleSettingsobject | null
internalobject | null
useCustomTitlesboolean | null
solostring | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
externalobject | null
useCustomTitlesboolean | null
oneAttendeestring | null
twoAttendeesstring | null
manyAttendeesstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/delegations/<id>/reverify' \
  -X POST \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "delegation": {
    "id": "string",
    "coordinator": {
      "id": "string",
      "type": "user"
    },
    "principal": {
      "id": "string",
      "type": "user"
    },
    "account": "string",
    "assistant": {
      "id": "string"
    },
    "status": "pending"
  }
}