XPipe LogoXPipe Documentation

Execute an action

Executes an action, which is defined by its own schema. To obtain the schema and data for any action within XPipe, use the action shortcut menu.

POST
/action

Authorization

bearerAuth
AuthorizationBearer <token>

The bearer token used is the session token that you receive from the handshake exchange.

In: header

Request Body

application/json

action*object

The raw action data in json form. The best way to obtain this data is to use the action shortcut creation functionality.

confirm*boolean

If the action is modifying something and the category has been configured to confirm all modifications, a confirmation dialog will be shown if this is is true.

Response Body

application/json

application/json

curl -X POST "http://localhost:21721/action" \  -H "Content-Type: application/json" \  -d '{    "action": {      "ref": "f0ec68aa-63f5-405c-b178-9a4454556d6b",      "id": "open"    },    "confirm": false  }'
Empty
{
  "message": "string"
}
Empty
Empty
{
  "error": {
    "cause": {},
    "stackTrace": [],
    "suppressed": [],
    "localizedMessage": "string",
    "message": "string"
  }
}