Get Org Settings
Returns the calling member's organization settings, with defaults filled in for any the organization never set, and their settings_hash. Any member of the organization may read them. Send the hash back as expected_settings_hash when changing a setting.
Successful Response
application/json- response
The organization's settings, defaults filled in, and their fingerprint.
The settings object bare, with no envelope, matching the only other org
route, POST /org/search-token, whose SearchTokenResponse is likewise
returned unwrapped. It always carries the full current settings, so a
client renders its state from any response without a follow-up read.
metered_usage_enabled*Metered Usage EnabledWhether the organization accepts charges for usage beyond its plan's included monthly allowance.
label_findings_policy*LabelFindingsPolicyWhat a label export does when the label has findings nobody has addressed: 'acknowledge' or 'block'.
"acknowledge""block"label_gap_notes_enabled*Label Gap Notes EnabledWhether nutrition label and export responses carry a short note of ingredients with no value for a nutrient, where the missing value could change the label. Never stops a label from being exported.
settings_hash*Settings HashFingerprint of these settings: the lower-case hex SHA-256 of the settings above as JSON with sorted keys and no whitespace. Send it back as expected_settings_hash when changing a setting, so a change made by someone else in between is refused rather than overwritten.
curl -X GET 'https://api.bettermenu.live/org/settings'{ "metered_usage_enabled": true, "label_findings_policy": "acknowledge", "label_gap_notes_enabled": true, "settings_hash": "string"}