Execute an action

Call an action by providing the action name and the necessary details in the request body.

POST
/ebus/execute
AuthorizationBearer <token>

In: header

Request Body

application/json

The details of the action to call.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://api-testnet.dual.network/ebus/execute" \  -H "Content-Type: application/json" \  -d '{}'
{
  "action_id": "string",
  "steps": [
    {
      "action": "string",
      "error": "string",
      "output": {}
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}