Approvals

Deny an action

Denies the action (never replayed). Records the optional reason and unblocks the originating chat turn if any.

post/approvals/{id}/deny

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/approvals/{id}/deny
  • Auth: API key in header Authorization

Path parameters

idstring required

Approval id (apr_...)

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

reasonstring

Optional reason recorded on the approval

Response

Success

objectstring required
idstring required
approval_idstring required
statusstring required
kindstring required
action_typestring nullable required
titlestring nullable required
app_slugstring nullable required
tool_namestring nullable required
resultobject nullable required
errorstring nullable required
reasonstring nullable required
chat_idstring nullable required
created_atstring required
resolved_atstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.