---
title: "Request an Assistant update to an existing workflow"
method: POST
path: "/v5/agent/workflows/{workflowId}/assistant/messages"
tags: ["Agent"]
---

# Request an Assistant update to an existing workflow

`POST /v5/agent/workflows/{workflowId}/assistant/messages`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v5/agent/workflows/{workflowId}/assistant/messages`
- Auth: none declared

Bootstraps or reuses the workflow's customer Assistant session and enqueues update instructions without changing the workflow ID.

## Path parameters

- `workflowId` string, uuid, required

## Request body

- WorkflowAssistantMessageRequest
  - `prompt` string, required: Natural-language instructions for updating the existing workflow.
  - `threadId` string, uuid, nullable: Assistant thread to continue. Omit to use the workflow's latest Assistant thread.

## Response `202`

Workflow Assistant update accepted

- WorkflowAssistantMessageResponse
  - `data` object, required
    - `jobId` string, nullable, required
    - `inputEventId` string
    - `sessionId` string, uuid, required
    - `threadId` string, uuid, required
    - `workflowId` string, uuid, required
    - `existed` boolean
    - `alreadyBootstrapped` boolean
    - `realtimePlacementPolicy` object: Present when mentioned tags were saved but the realtime placement policy publish failed or was skipped; the message itself still ran.
      - `status` 'failed' | 'skipped'
      - `code` string: Stable failure code, e.g. REALTIME_PLACEMENT_POLICY_PUBLISH_FAILED.
      - `reason` string
      - `policyVersion` integer
  - `status` 'success', required
  - `message` string, required

## Other responses

- `400`: Invalid workflow ID or request body
- `404`: Workflow or Assistant session not found
- `409`: Assistant session or thread conflict

---

[API](https://skmtc.dev/kadoa/apis/kadoa-api.md) · [All operations](https://skmtc.dev/kadoa/apis/kadoa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kadoa/apis/kadoa-api/revisions/bf7803c927b4?raw)
