Skip to main content
Get 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.

Query Parameters

fields
string[]

Return only these fields; use dots for nested fields, such as settings.max_amount. Fields: auto_approve_enabled, settings, conditions, updated_at.

Response

The approval 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.