Skip to content
Skip to Content
Docs
ApiOrg

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.

GET
/org/settings

Response Body

Successful Response

application/json
  1. 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 Enabled

Whether the organization accepts charges for usage beyond its plan's included monthly allowance.

label_findings_policy*LabelFindingsPolicy

What a label export does when the label has findings nobody has addressed: 'acknowledge' or 'block'.

Value in"acknowledge""block"
label_gap_notes_enabled*Label Gap Notes Enabled

Whether 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 Hash

Fingerprint 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.

Example Request
curl -X GET 'https://api.bettermenu.live/org/settings'
Example Response
{  "metered_usage_enabled": true,  "label_findings_policy": "acknowledge",  "label_gap_notes_enabled": true,  "settings_hash": "string"}

Recipe in, FDA-format Nutrition Facts out, with every version kept.

Start freeNo card needed.