Set an Agent Channel Prompt
This operation lets you set an agent channel prompt for the authenticated Nexor account. This reference documents verified path, query, and top-level JSON body fields, observed response status codes, and top-level response fields. Provider-owned or deeply nested response shapes may remain open.
PATCH
Set an Agent Channel Prompt
PATCH
See Authentication.
See Your content limit for what counts toward the limit. Character limits on individual fields still apply.
/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
422 Customer content exceeds the limit
CUSTOMER_PROMPT_TOO_LARGE means the final task configuration exceeds 20,000 customer tokens. Nexor’s internal instructions are excluded. Shortening an oversized configuration is not enough unless the result fits within the limit. Nothing is saved.
422 Call flow exceeds the limit
CONVERSATION_FLOW_TOO_LARGE means the task’s call flow would exceed 390,000 bytes after the change. The response names what drives its size: stages (phases), transfers, closing stages (exits), other tasks an inbound call can move to (reroute_targets), fields, tools, and the size of your own text (content_bytes). Nothing is saved. A call flow already over the limit can still be edited when the change makes it smaller.
422 Call flow cannot be built
CONVERSATION_FLOW_CONFIGURATION_INVALID means the call flow cannot be built from the resulting configuration. reason names the problem. Nothing is saved. Fix the configuration first, because the same request fails again.
503 Call limit exceeded
VOICE_PROMPT_CAPACITY_EXCEEDED means a call for this task would exceed the call limit, which counts your content plus Nexor’s instructions and tools. Nothing is saved. The response includes capacity.tokens and capacity.limit for the call, and customer.tokens and customer.limit for your content. Shorten the prompt or instructions by at least capacity.tokens - capacity.limit tokens, or turn off calls if the task never calls. See Call limit.
503 — Validation unavailable
503 VOICE_PROMPT_BUDGET_UNAVAILABLE means Nexor could not complete the capacity check. Retry when validation is available.Authorizations
Last modified on October 23, 2026
Set an Agent Channel Prompt