Skip to content

Workflows API

DRAFT — Internal Developer Use Only

This API reference is for internal development teams.

Overview

What it is: The workflows API manages automation workflows that chain triggers to actions. A workflow defines which events trigger which actions, with optional conditions and sequencing.

Endpoints

MethodPathDescriptionAuth required
GET/api/v1/workflowsList all workflowsJWT + API token
GET/api/v1/workflows/:workflowIDGet a specific workflowJWT + API token
PUT/api/v1/workflows/:workflowIDUpdate a workflowJWT + API token
PUT/api/v1/workflows/:workflowID/enableEnable a workflowJWT + API token
PUT/api/v1/workflows/:workflowID/disableDisable a workflowJWT + API token
DELETE/api/v1/workflows/:workflowIDDelete a workflowJWT + API token

GET /api/v1/workflows

List all configured workflows.

Request:

http
GET /api/v1/workflows
Authorization: Bearer <token>

Response (200):

json
[
  {
    "workflowID": "wf-uuid-001",
    "name": "High Threat Alert",
    "enabled": true,
    "trigger": "threat-score-above-80",
    "actions": ["action-uuid-001", "action-uuid-002"]
  }
]

PUT /api/v1/workflows/:workflowID/enable

Enable a disabled workflow.

Request:

http
PUT /api/v1/workflows/wf-uuid-001/enable
Authorization: Bearer <token>

Response (200):

json
{
  "workflowID": "wf-uuid-001",
  "enabled": true
}

PUT /api/v1/workflows/:workflowID/disable

Disable an active workflow. The workflow remains configured but stops processing triggers.

Request:

http
PUT /api/v1/workflows/wf-uuid-001/disable
Authorization: Bearer <token>

Response (200):

json
{
  "workflowID": "wf-uuid-001",
  "enabled": false
}

Hydden Documentation and Training Hub