Approve or deny a pending approval

Submits an approval decision for a paused execution awaiting human-in-the-loop approval.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
approvalIdstringRequired>=1 character
decisionenumRequired
Allowed values:
executionIdstringRequired>=1 character
reasonstringOptional
rememberbooleanOptional
streamResponsebooleanOptional

Response

Approval processed (SSE stream or JSON)

object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error