Skip to main content
Update the approval policy

Authorizations

Authorization
string
header
required

Personal API key sent as a bearer token, together with X-Organization-Id. The key must have at least the access level the endpoint requires (read, write or admin).

Headers

X-Organization-Id
string

The organization to act in. Required for personal API keys; list the organizations you can access with GET /v1/organizations.

Body

application/json
auto_approve_enabled
boolean

Turns automatic approval on or off.

settings
object

Omitted settings are unchanged.

Response

The saved policy.

auto_approve_enabled
boolean
required

Whether invoices are approved automatically when every trust and limit condition passes and at least one reason holds, such as same_as_always.

settings
object
required
conditions
object[]
required

Every condition an invoice is evaluated against, in the order they are shown.

updated_at
string<date-time> | null
required

When the policy was last saved; null while it has its defaults.