approvalPolicies

Validate policy approvers

Validates that the proposed approver set can satisfy the minimum approval threshold across all locations in the policy scope. Call before create/update to surface missing-approver warnings. One scope field is required.

post/approval-policies/validate-approvers

Headers

Authorizationstring required

OAuth2 authentication flows. Auth server URLs will vary by environment

X-Api-Keystring required

API key for authentication

X-API-Versionstring

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Idempotency-Keystring

Client-generated unique key (UUID/ULID recommended). JSON requests: the first 2xx response is cached for 24h and replayed on a same-key retry with a matching body; a different body returns 422. Non-JSON requests (e.g. file uploads): the key is single-use — any same-key retry returns 422 regardless of body. See Idempotency for full details.

Request body

minimum_approversinteger

Required approver count (default 1)

use_buyer_approverboolean

Treat buyer as implicit approver (default false)

ottimate_location_idinteger

Validate for a single location

ottimate_company_idinteger

Validate for all locations in company

groupstring

Validate for all locations in group

accountstring

Validate for all locations in account

usersinteger[]

User IDs to validate

rolesstring[]

Role IDs to validate

Response

Validation ran; valid reports whether the proposed approver set covers every location in scope. Always 200 -- a validation result, even a negative one, is not an error condition.

ApprovalPoliciesPostApprovalPoliciesValidateApproversResponse200 required

Empty response body

Changes