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
streamResponsetrueRequired
reasonstringOptional
rememberbooleanOptional

Response

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
OR
object
OR
object

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error