Skip to content

Get Account Settings

Tool name: get-account-settings

Reads editable account switches, preview marker tag and email blacklist. Inaccessible settings are absent, not false; connected-service credentials are reported only as configured or not, never by value. Personal, privacy, legal and sender-address settings are excluded.

Input schema

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "accountId": null }

Output schema

accountIdintegerrequired
settingsobjectrequired

The settings this account may edit; one this account may not edit is absent

credentialsobjectrequired

Per service, whether credentials are stored -- never the credentials themselves

editUrlstringrequired
refusalsobject

Rejected preferences from an attempted update; other changes may already be applied in settings

Output example
{ "accountId": 0, "settings": { "property1": true, "property2": true }, "credentials": { "property1": true, "property2": true }, "editUrl": "string", "refusals": { "property1": "string", "property2": "string" } }