Set the order actions run in

order must list every action id on this endpoint exactly once. A partial order is refused rather than applied, because it would leave the rest at positions that no longer mean anything.

Reordering changes dispatch and display order only. It does not make one action wait for another, and it does not pass anything between them.

PUT
/api/v1/endpoints/{endpointId}/actions/order
AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.

In: header

Path Parameters

endpointId*string

The endpoint id (also the capture token in its URL).

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{
  "actions": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "kind": "forward",
      "name": "string",
      "position": 0,
      "url": "string",
      "isActive": true,
      "suspendedByPlan": true,
      "condition": {},
      "conditionDescription": "string",
      "signing": {
        "signed": true,
        "setAt": "2019-08-24T14:15:22Z"
      },
      "ruleCount": 0,
      "alertChannelId": "48f8dcc3-fd9c-427f-bf34-54017ef3c9a6",
      "alertChannelName": "string",
      "messageTemplate": "string",
      "channelUnavailable": true,
      "apiRequestId": "6ecc081a-ed69-4059-83bc-ec5b8abdbb90",
      "apiRequestName": "string",
      "slotMapping": {
        "property1": "string",
        "property2": "string"
      },
      "requestUnavailable": true
    }
  ],
  "limit": 0,
  "canAddMore": true,
  "options": {
    "kinds": [
      "forward"
    ],
    "channels": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string",
        "kind": "string",
        "isEnabled": true,
        "isConfigured": true
      }
    ],
    "canCreateChannel": true,
    "planName": "string"
  }
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}

On this page