Installer.com Docs
API ReferenceWorkflows
POST
/api/routers/{routerId}/workflow-steps/{workflowStepId}/act

Path Parameters

workflowStepId*string
Formatuuid
routerId*string
Formatuuid

Request Body

application/json

Act on workflow step payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "http://localhost:8000/api/routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflow-steps/497f6eca-6276-4993-bfeb-53cbbbba6f08/act" \  -H "Content-Type: application/json" \  -d '{    "type": "START"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4",
  "workflowStepId": "910ae244-d9b7-47aa-bbbd-fedca7553eff",
  "status": "todo",
  "actionReason": "string",
  "dueAt": "2019-08-24",
  "dueState": "todo",
  "comment": "string",
  "actor": "string",
  "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
  "orgId": "25b2c2d5-a7fc-47d0-89e4-8709a1560bfa",
  "booking": null,
  "currentStatusLog": {
    "comment": "string",
    "createdAt": "2019-08-24",
    "actor": "string"
  },
  "org": {
    "id": "string",
    "name": "string"
  }
}