Settings

4 endpoints in this category.

GET/master/setting-list

Get App Settings

Get application settings and configuration values.

Authentication:Required — Authorization: Bearer <token>

Response Fields

NameTypeRequiredDescription
dataobjectYesSettings key-value pairs

Error Codes

StatusMeaning
401Unauthorized

Code Examples

curl -X GET 'https://visitnote-api-production.up.railway.app/api/therapist/v1/master/setting-list' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN'
GET/notifications

Get Notifications

Get push notification history with optional read-status filtering.

Authentication:Required — Authorization: Bearer <token>

Query Parameters

NameTypeRequiredDescription
per_pageintegerNoResults per page
is_readintegerNoFilter: 0 = unread, 1 = read

Response Fields

NameTypeRequiredDescription
dataNotification[]YesArray of notifications

Error Codes

StatusMeaning
401Unauthorized

Code Examples

curl -X GET 'https://visitnote-api-production.up.railway.app/api/therapist/v1/notifications' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN'
GET/problem-notes

Get Problem Notes

Get visits that have documentation issues needing attention.

Authentication:Required — Authorization: Bearer <token>

Response Fields

NameTypeRequiredDescription
dataVisit[]YesVisits with documentation problems

Error Codes

StatusMeaning
401Unauthorized

Code Examples

curl -X GET 'https://visitnote-api-production.up.railway.app/api/therapist/v1/problem-notes' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN'
PUT/my-settings/features

Update Personal Feature Settings

Solo clinicians opt in or out of app features for themselves. Only the client-advisory subset may be set: billing_codes, icd10_suggestions, ai_conversation, ai_voice, copy_last_visit. Org-fed and sync flags are org-controlled and cannot be set here.

Authentication:Required — Authorization: Bearer <token>
Personal overrides only apply while solo: the moment the clinician takes an organization seat, the org's configuration wins and personal overrides are ignored.

Request Body

NameTypeRequiredDescription
featuresobjectYesMap of feature key → boolean, or null to clear the personal override

Response Fields

NameTypeRequiredDescription
featuresobjectYesThe recomputed effective feature set

Error Codes

StatusMeaning
422Unknown feature keys — the message lists them

Code Examples

curl -X PUT 'https://visitnote-api-production.up.railway.app/api/therapist/v1/my-settings/features' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "features": "{ \"billing_codes\": true }"
}'