ApprovalRequests

Create a new approval request

Changed on
post/api/approval-requests

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/approval-requests
  • Auth
    HTTP bearer

Request body

titlestring required
workflowRunIdstring uuid
workflowRunStepIdstring uuid
sourceTaskIdstring uuid
timeoutSecondsinteger

Seconds until the request expires. After that the request becomes 'timeout' and you get a hitl-follow-up task. A request with no timeout is cancelled after APPROVAL_REQUEST_AUTO_CANCELLATION_DAYS days (default 7).

Response

Approval request created

Changes

    • warning

      added the new config enum value to the /// response property for the response status

    • info

      added the new optional request property //

    • info

      the request property // became optional

    • info

      added the new config enum value to the request property //

    • info

      added the optional property / to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the non-success response with the status