Update an Agent
This operation lets you update an agent 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.
/workflows/:id
Rename an agent, edit its description, activate/pause it, or make it reply-only. Agents are born paused when created via the API — this is the only way to turn one on programmatically.
Path Parameters
Request Body
Provide at least one of the following.Responses
200 — Updated
pending_runs is only present when activating, and reflects leads whose cadence resumes immediately.
400 — Validation error
400 — Activation blocked
Appointment-goal agents need at least one active meeting type before they can be activated:
401 — Authentication error
See Authentication.
404 — Not found
500 — Internal server error
Authorizations
API key for authentication. Keys are prefixed with nxr_live_.
Path Parameters
Workflow identifier.
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
8001000es-CL, es-MX, es-PE, es-CO, es-US, en-US, en-AU, ko-KR, pt-BR, fr-FR Valid IANA time-zone name.
cl, mx, pe, co, ar, es, latam, us, au, gb, in, nz, kr, br, pt, 200200200Reply-only switch. true: the agent never initiates contact (no first contact and no cadence when a lead enrols or is transferred in) and only answers when the lead writes. false: normal outbound behavior.
Response
Successful response.
true Persisted value of the reply-only switch, read back from the stored agent.