Deliver an approval/external signal to a waiting execution
Changed onResumes a WAITING execution (durable execution). The caller must own the workflow; the signal only counts against an actual pending wait whose kind it matches and which has not timed out. v1 is the external-signal (human approval) flavor — e.g. a Telegram approve/reject for a money-moving step.
Request
- Base URLhttps://api.avaprotocol.org/api/v1
- AuthHTTP bearer
Request body
Response
The resumed (terminal or still-waiting) execution.
Example response
{
"id": "01JG2FE5MDVKBPHEG0PEYSDKAC",
"workflowId": "01JG2FE5MDVKBPHEG0PEYSDKAC",
"chainId": 11155111,
"steps": [
{
"errorDetails": {
"token": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}
}
],
"authorization": {
"missingActions": [
{
"target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}
],
"missingTokens": [
"0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
],
"required": {
"allowedActions": [
{
"target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}
],
"erc20SpendCaps": [
{
"token": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"amount": "500000000"
}
],
"nativeRecipients": [
"0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
],
"nativeSpendCap": {
"amount": "10000000000000000"
}
}
}
}Changes
- 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 optional property
to the response with the status - 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 optional property
to the response with the status - 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 optional property
to the response with the status - 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 optional property
//to the response with the status - 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 optional property
to the response with the status
- info
- 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 optional property
to the response with the status - 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 optional property
to the response with the status - 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 optional property
to the response with the status
- info