Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/update_customer_agent_conversation_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/update_customer_agent_conversation_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-10-15

This endpoint is in beta. Call it with the revision header 2026-10-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

Update Conversation

PATCHhttps://a.klaviyo.com/api/customer-agent-conversations/{id}

Update a Customer Agent conversation.

status, customer, and profile are the only updatable fields, and at least one must be provided. Only status: closed is accepted. customer can only be set once. profile can be added once, including to a conversation that already has customer, to sign the customer in.

Revision header
revision: 2026-10-15.prerequired
Scopes
agents:write
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[customer-agent-conversation]#string[]

    For more information please visit API overview

    Show 11 allowed values
    • channel
    • created_at
    • customer
    • customer.email
    • customer.first_name
    • customer.last_name
    • customer.phone_number
    • id
    • mode
    • status
    • updated_at

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-10-15.pre

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • customer-agent-conversation
    • id#stringrequired
    • attributes#objectrequired
      Show 2 fields
      • status#stringnullable
        Allowed values:
        • closed
      • customer#objectnullable

        Contact details that identify the customer. Events from this conversation are recorded on the matching Klaviyo profile, and the agent uses these details to personalize replies. Does not sign the customer in or give access to their orders or account; use profile for that. Can only be set once.

        Show 4 fields
        • email#stringnullable
        • first_name#stringnullable
        • last_name#stringnullable
        • phone_number#stringnullable
    • relationships#object
      Show 1 field
      • profile#object
        Show 1 field
        • data#objectrequired
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#stringrequired

            Signs the customer in, letting Customer Agent look up their orders, returns, subscriptions, and loyalty details. Only set this for a customer you have verified. Can be added once, including after customer is set, to sign in a customer identified earlier in the conversation.

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • customer-agent-conversation
    • id#stringrequired

      Conversation identifier. Treat it as an opaque string; its format varies by where the conversation started.

      Example: d1cfa5b1-80ce-4069-8067-b708dab722bd

    • attributes#objectrequired
      Show 6 fields
      • status#stringrequired

        Current lifecycle status of the conversation.

        Allowed values:
        • open
        • routed-to-team
        • resolved-by-ai
        • closed

        Example: resolved-by-ai

      • mode#stringrequired

        Whether the conversation is for testing or a real shopper interaction.

        Allowed values:
        • preview
        • live
      • channel#stringnullable

        Channel this conversation is associated with, if known.

        Allowed values:
        • web-chat
        • sms
        • email
        • whatsapp
        • instagram
        • voice
        • personal-agent
      • customer#objectnullable

        Contact details that identify the customer, if any.

        Show 4 fields
        • email#stringnullable
        • first_name#stringnullable
        • last_name#stringnullable
        • phone_number#stringnullable
      • created_at#string<date-time>required

        Date and time when the conversation was created.

        Example: 2026-05-13T12:00:00+00:00

      • updated_at#string<date-time>required

        Date and time when the conversation was last updated.

        Example: 2026-05-13T12:05:00+00:00

    • relationships#objectrequired
      Show 2 fields
      • profile#object
        Show 1 field
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#stringrequired

            Signed-in Klaviyo profile of the customer, if any.

      • customer-agent-messages#objectrequired
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • customer-agent-message
          • id#stringrequired

            Message turns in this conversation.

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string