Skip to main content
PATCH
Set an Agent Channel Prompt
PATCH /workflows/:id/channels Set a per-channel prompt override on top of the agent’s base prompt — for example, keeping WhatsApp replies shorter than email ones. Sent keys are merged into the existing channel_prompts, so you can update one channel without resending the others.

Path Parameters

Request Body

Responses

200 — Updated

channels lists every channel with an override after merging, not just the ones in this request.

400 — Validation error

401 — Authentication error

See Authentication.

404 — Not found

500 — Internal server error

Authorizations

X-API-Key
string
header
required

API key for authentication. Keys are prefixed with nxr_live_.

Path Parameters

id
string<uuid>
required

Workflow identifier.

Body

application/json
channel_prompts
object
required

Channel names mapped to prompt text/configuration.

Response

Successful response.

success
enum<boolean>
required
Available options:
true
workflow_id
string<uuid>
required
channels
string[]
required
Last modified on September 8, 2026