Skip to main content
PATCH
Update an Agent
Activating a task (is_paused: false) starts contacting every lead waiting in it, per its cadence. Calls wait for the task’s contact hours; messages go right away unless the task restricts messages to its hours. Do-not-contact leads are not contacted, and inbound-only tasks don’t start outreach. Check how many leads are waiting before you turn it on.
PATCH /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

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
is_paused
boolean
required
name
string
description
string
goal_statement
string
Maximum string length: 800
begin_message
string
Maximum string length: 1000
master_workflow_id
string<uuid> | null
language
enum<string>
Available options:
es-CL,
es-MX,
es-PE,
es-CO,
es-US,
en-US,
en-AU,
ko-KR,
pt-BR,
fr-FR
timezone
string

Valid IANA time-zone name.

region_style
enum<string>
Available options:
cl,
mx,
pe,
co,
ar,
es,
latam,
us,
au,
gb,
in,
nz,
kr,
br,
pt,
agent_name
string
Maximum string length: 200
agent_role
string
Maximum string length: 200
company_name
string
Maximum string length: 200
inbound_only
boolean

Reply-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.

success
enum<boolean>
required
Available options:
true
workflow_id
string<uuid>
required
language
string
timezone
string
region_style
string | null
agent_name
string
agent_role
string
company_name
string
master_workflow_id
string<uuid> | null
pending_runs
integer
activation_warnings
object[]
blockers
object[]
is_paused
boolean
identity
object
inbound_only
boolean

Persisted value of the reply-only switch, read back from the stored agent.

Last modified on October 6, 2026