Endpoint
Path Parameters
string
required
The unique identifier of the agent to update, e.g.
agent_abc123.Request Body
All request body fields are optional. Include only the fields you want to change.string
New display name for the agent.
string
New status for the agent. Accepted values:
active, inactive.string
Language locale for the agent’s conversations. Accepted values:
es-AR, es-MX, es-CR, es-CO, pt-BR, en-US.string
Conversational tone the agent uses. Accepted values:
formal, friendly, professional.array
Replaces the full list of handoff trigger phrases. The agent transfers the conversation to a human seller whenever one of these topics arises.
integer
Maximum number of follow-up messages the agent will send per lead.
integer
Number of days to wait between each follow-up message.
Example Request
The following request localizes the agent for Mexico and tightens its follow-up cadence to three messages spaced two days apart.cURL
Response
A successful request returns the full updated agent object.200 OK