Get app surface settings
GET
/api/v1/apps/surfaces
const url = 'https://example.com/api/v1/apps/surfaces';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/apps/surfaces \ --header 'Authorization: Bearer <token>'Returns the app surface settings. It requires a signed-in User with the account scope. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/apps/surfaces. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
effective_enabled
required
boolean
instance_enabled
required
boolean
surface
required
These gates protect external automation credentials. Browser sessions remain usable so a User can always restore their own access in Settings.
string
user_enabled
required
boolean
Example
[ { "surface": "notes" }]