User API
Preferences
Scheduling, reminders, and supervision preferences
/users/{userId}/preferences/inbound-trustGet who may put the assistant to work without explicit authorization
The two inbound-trust toggles: the user's own values (null = inherit) and the effective values after team, organization, developer and platform defaults.
Path parameters
Responses
trueuserteamorganizationdeveloperplatformuserteamorganizationdeveloperplatformRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/inbound-trust' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"inboundTrust": {
"own": {
"allowActionsForContacts": true,
"allowActionsForTeamMembers": true
},
"effective": {
"allowActionsForContacts": true,
"allowActionsForTeamMembers": true
},
"decidedAt": {
"allowActionsForContacts": "user",
"allowActionsForTeamMembers": "user"
}
}
}/users/{userId}/preferences/inbound-trustSet the inbound-trust toggles for a user
A boolean sets the user's own value; null clears it so the team, organization or developer default applies.
Path parameters
Request body
Responses
trueuserteamorganizationdeveloperplatformuserteamorganizationdeveloperplatformRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/inbound-trust' \
-X PATCH \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"allowActionsForContacts": true,
"allowActionsForTeamMembers": true
}'Response
{
"ok": true,
"inboundTrust": {
"own": {
"allowActionsForContacts": true,
"allowActionsForTeamMembers": true
},
"effective": {
"allowActionsForContacts": true,
"allowActionsForTeamMembers": true
},
"decidedAt": {
"allowActionsForContacts": "user",
"allowActionsForTeamMembers": "user"
}
}
}/identifiers/{identifierId}/preferencesGet all preferences for an identifier
Path parameters
Query parameters
Responses
truenonemeetingtimeBlockall-eventsagnt-eventsnoneonly-mewith-attendeesnoneonly-menonesupervisedsemi-supervisedunsupervisedalwayson_flagneversystemnullRequest
curl 'https://app.openassistant.us/api/identifiers/<identifierId>/preferences' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"preferences": {
"id": "string",
"account": "string",
"user": "string",
"preferences": {
"scheduling": {},
"reminders": {},
"followups": {},
"travel": {}
},
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}
}/identifiers/{identifierId}/preferences/{skillName}Get preferences for a specific skill
Path parameters
Query parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/identifiers/<identifierId>/preferences/<skillName>' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"skillPreferences": {
"skill": "string",
"preferences": {}
}
}/identifiers/{identifierId}/preferences/{skillName}Set preferences for a specific skill
Path parameters
Query parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/identifiers/<identifierId>/preferences/<skillName>' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"preferences": {}
}'Response
{
"ok": true,
"skillPreferences": {
"skill": "string",
"preferences": {}
}
}/users/{userId}/preferences/schedulingGet scheduling preferences for user's primary identifier
Path parameters
Responses
truenonemeetingtimeBlockRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/scheduling' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"schedulingPreferences": {}
}/users/{userId}/preferences/schedulingUpdate scheduling preferences for user's primary identifier
Path parameters
Request body
nonemeetingtimeBlockResponses
truenonemeetingtimeBlockRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/scheduling' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"schedulingPreferences": {}
}'Response
{
"ok": true,
"schedulingPreferences": {}
}/users/{userId}/preferences/remindersGet reminder preferences for the user (cross-identifier)
Path parameters
Responses
trueall-eventsagnt-eventsnoneonly-mewith-attendeesnoneonly-menoneRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/reminders' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"reminderPreferences": {}
}/users/{userId}/preferences/remindersUpdate reminder preferences for the user (cross-identifier)
Path parameters
Request body
all-eventsagnt-eventsnoneonly-mewith-attendeesnoneonly-menoneResponses
trueall-eventsagnt-eventsnoneonly-mewith-attendeesnoneonly-menoneRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/reminders' \
-X PATCH \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"preferences": {
"level": "all-events",
"smartReminders": true,
"recipient": {
"asOrganizer": "only-me",
"asAttendee": "only-me"
},
"calendars": {
"read": [
"string"
]
}
}
}'Response
{
"ok": true,
"reminderPreferences": {}
}/users/{userId}/preferences/supervision/matrixGet supervision matrix for user's primary identifier
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/supervision/matrix' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"supervisionMatrix": {
"matrix": {
"email_as_user": null,
"email_as_assistant": null,
"messaging": null,
"workplace_as_assistant": null
}
}
}/users/{userId}/preferences/supervision/matrixDeep-merge an update into the supervision matrix
Path parameters
Request body
autotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualnullexecutecancelnullautotime-boxedmanualdeniedexecutecancelnullResponses
trueRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/supervision/matrix' \
-X PATCH \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"matrix": {
"email_as_user": {
"mode": "auto",
"timeBoxedWindowMin": 0,
"timeBoxedExpiry": "execute",
"undoDelaySec": 0
},
"email_as_assistant": {
"mode": "auto",
"timeBoxedWindowMin": 0,
"timeBoxedExpiry": "execute",
"undoDelaySec": 0
},
"messaging": {
"mode": "auto",
"timeBoxedWindowMin": 0,
"timeBoxedExpiry": "execute",
"undoDelaySec": 0
},
"workplace_as_assistant": {
"mode": "auto",
"timeBoxedWindowMin": 0,
"timeBoxedExpiry": "execute",
"undoDelaySec": 0
}
}
}'Response
{
"ok": true,
"supervisionMatrix": {
"matrix": {
"email_as_user": null,
"email_as_assistant": null,
"messaging": null,
"workplace_as_assistant": null
}
}
}/users/{userId}/preferences/supervision/matrix/resetReset supervision matrix to null (restore defaults)
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/supervision/matrix/reset' \
-X PUT \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"supervisionMatrix": {
"matrix": {
"email_as_user": null,
"email_as_assistant": null,
"messaging": null,
"workplace_as_assistant": null
}
}
}/users/{userId}/preferences/supervision/exceptionsAppend a recipient exception to the supervision matrix
Path parameters
Request body
tagprioritycompanycontactIdemaildomaininternalphoneconnectionautotime-boxedmanualdeniedexecutecancelnullResponses
truetagprioritycompanycontactIdemaildomaininternalphoneconnectionautotime-boxedmanualdeniedexecutecancelnullRequest
curl 'https://app.openassistant.us/api/users/<userId>/preferences/supervision/exceptions' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"match": {
"kind": "tag",
"value": "string"
},
"mode": "auto"
}'Response
{
"ok": true,
"recipientException": {
"match": {
"kind": "tag",
"value": "string"
},
"mode": "auto"
}
}/users/{userId}/preferences/supervision/exceptions/{exceptionId}Remove a recipient exception by id
Path parameters
Responses
Request
curl 'https://app.openassistant.us/api/users/<userId>/preferences/supervision/exceptions/<exceptionId>' \
-X DELETE \
-H "Authorization: Bearer ak_live_..."