Approval

Reject a pending internal approval request

POST
/api/approval/internal/{id}/reject

Rejects a pending INTERNAL approval request as the authenticated agent. Optional notes are persisted to rejectionNotes. The deferred tool is not executed; the agent autopilot is notified so it can acknowledge and continue.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/approval/internal/string/reject" \  -H "Content-Type: application/json" \  -d '{    "notes": "Cannot approve - pricing is outside the agreed range."  }'
{  "success": true,  "status": "approved",  "result": {    "bookingId": "bk_64a1b2c3d4e5f60012345678"  }}