Skip to main content
Update the configuration of an existing AI agent without replacing the entire record. Send only the fields you want to change — DeltaLead applies a partial update, leaving every unspecified field untouched. Use this endpoint to tune an agent’s behavior over time, localize it for a new market, or adjust its follow-up cadence as your sales process evolves.

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
Changing the language of an active agent takes effect on the next new conversation the agent starts. Any conversations already in progress continue in the previous language until they are closed or handed off to a human seller.