Decide Desk Play Approval
POST /desk/plays/approvals/{execution_id}/decide
Approve or reject one paused run, AS THIS REP.
Approving RESUMES the run, and what it then does is whatever the workflow does - which can include sending. The identity matters: the workflow’s author may have named an approver list, and a caller not on it gets a 403 rather than a silent no-op.
403 means “not your decision to make”, 404 means the run is no longer waiting. Neither is a retryable error.
Authorizations
Parameters
Path Parameters
Paused workflow execution id.
Paused workflow execution id.
Header Parameters
Request Body required
Responses
200
Successful Response
object
An open envelope for one desk object.
Open on purpose - see the module docstring. A rebuilder gets every field the desk returns, including ones added after this contract version.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error