Update Customer Agent
PATCHhttps://a.klaviyo.com/api/customer-agents/{id}
Patches the Customer Agent resource for the calling company.
The request body data.id must match the path parameter. Supports name, tone_of_voice, escalation_rules, and communication_styles. For tone, provide tone_of_voice.preset from the supported enum, or preset: "custom" together with custom_instruction. For escalation_rules and communication_styles, the supplied array replaces the existing list; omit the field to leave the existing list unchanged. Takes effect on the next turn.
- Revision header
revision: 2026-07-15.prerequired- Scopes
agents:write- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-07-15.pre
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
Customer Agent resource id. Must match the
idpath parameter.Show 4 fields
The name of the AI agent.
Patchable tone-of-voice settings for the Customer Agent resource.
Natural-language triggers that, when matched, cause the agent to escalate to a human. When provided, the supplied array replaces the existing list; omit to leave the existing list unchanged.
Global communication styles the agent applies on every turn. When provided, the supplied array replaces the existing list; omit to leave the existing list unchanged.
Responses
200Success
Content type: application/vnd.api+json
Show 4 fields
Customer Agent resource id. This is the account's ID.
Show 4 fields
The name of the AI agent.
Tone-of-voice settings for the Customer Agent resource.
Natural-language triggers that, when matched, cause the agent to escalate to a human. Each rule is individually enabled or disabled.
Global communication styles the agent applies on every turn, such as opening conventions, formatting preferences, and word choices to avoid. Each style is individually enabled or disabled.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json