Revenue
Operator override for pre-routing trust block
Overrides a persisted CallTrustDecision to OVERRIDDEN_ALLOW before routing starts. Requires a reason code; records AuditLog and emits trust.overridden. Blocked when call status advances beyond RECEIVED (routing started). Trust-blocked REJECTED calls are reopened and routing is re-triggered. Requires TRUST_OS_ENABLED=true. Operator accountability: when x-user-id resolves to a tenant user, overriddenByUserId is persisted; omitted actors remain null until trusted auth (issue #37) is deployed and all clients send an authenticated actor.
https://api.thearvexa.com/api/calls/{callId}/trust/overrideCalls
Recent Requests
Log in to see full request history| Time | Status | User Agent |
|---|---|---|
| Make a request to see history. | ||
Path Params
callIdstringrequiredHeaders
x-organization-idstringrequiredTenant organization identifier
x-user-rolestringrequiredDevelopment RBAC role (for example SUPER_ADMIN, ORG_ADMIN, OPS_MANAGER, VIEWER)
x-user-idstringTrusted authenticated actor id (interim header auth). Recorded as the actor on sensitive writes such as finance adjustments and their approve/reject decisions. Ignored when header auth is disabled.
x-organization-idstringrequiredBody Params
reasonCodestring enumrequiredRequired operator reason code for the trust override
notestringOptional operator note (PII-safe; stored in audit trail only)
Responses
200Trust override appliedapplication/json
Trust override applied
Schema
okbooleanrequiredexample: true
callTrustDecisionIdstringrequiredcallIdstringrequiredpreviousStatusenum(ALLOW | BLOCK | OVERRIDDEN_ALLOW) | nullrequiredstatusenum(OVERRIDDEN_ALLOW)requiredexample: "OVERRIDDEN_ALLOW"
reasonCodeenum(OPERATOR_DISCRETION | DNC_FALSE_POSITIVE | CONSENT_VERIFIED_OFFLINE | VELOCITY_FALSE_POSITIVE | BLOCKLIST_FALSE_POSITIVE | PUBLISHER_TRUST_EXCEPTION | OTHER)requiredexample: "OPERATOR_DISCRETION"
callStatusenum(RECEIVED | ROUTING | RINGING | CONNECTED | COMPLETED | FAILED | NO_BUYER | REJECTED)requiredCall status after override (may differ when routing re-triggered)
eventsEmittedarrayrequiredexample: ["trust.overridden"]
itemsstringroutingTriggeredbooleanrequiredTrue when routing handoff was attempted after override (pre-routing only).
idempotentbooleanrequiredTrue when the trust decision was already OVERRIDDEN_ALLOW (no second write/event).
Example
{
"ok": true,
"callTrustDecisionId": "string",
"callId": "string",
"previousStatus": "ALLOW",
"status": "OVERRIDDEN_ALLOW",
"reasonCode": "OPERATOR_DISCRETION",
"callStatus": "RECEIVED",
"eventsEmitted": [
"trust.overridden"
],
"routingTriggered": true,
"idempotent": true
}400Validation error
Validation error
No response body schema in OpenAPI
This status is documented, but the operation did not publish a response schema or example. The HTTP status and description above are still authoritative.
403Forbidden for the supplied role
Forbidden for the supplied role
No response body schema in OpenAPI
This status is documented, but the operation did not publish a response schema or example. The HTTP status and description above are still authoritative.
404Resource not found
Resource not found
No response body schema in OpenAPI
This status is documented, but the operation did not publish a response schema or example. The HTTP status and description above are still authoritative.