Business settings and the policy
GET
/business
const url = 'http://127.0.0.1:7700/api/business';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 http://127.0.0.1:7700/api/business \ --header 'Authorization: Bearer <token>'Preview. Whether Business is on, the company name, the policy text, each rule with the people who approve under it and who last changed it, warnings about rules nobody can approve, seats, the work-account sign-in settings (never the secret), shadow mode and the pilot record.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The settings.
Media typeapplication/json
object
on
boolean
company
string
policy
string
rules
Array<object>
object
line
string
to
string
any
boolean
overCents
integer
phrase
string
app
string
blocked
boolean
approvers
Names of the people who approve under it.
Array<string>
changed
Who last changed the line, and when: {by, at}.
object | null
warnings
Array<string>
seats
Array<object>
object
sso
The sign-in settings. Never the secret.
object | null
shadow
Array<string>
pilot
The one-week pilot record.
object
Example generated
{ "on": true, "company": "example", "policy": "example", "rules": [ { "line": "example", "to": "example", "any": true, "overCents": 1, "phrase": "example", "app": "example", "blocked": true, "approvers": [ "example" ], "changed": "example" } ], "warnings": [ "example" ], "seats": [ {} ], "sso": "example", "shadow": [ "example" ], "pilot": {}, "paused": { "by": "example", "at": "2026-04-15T12:00:00Z", "via": "example" }}