Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/create_customer_agent_conversation_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/create_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.

Create Conversation

POSThttps://a.klaviyo.com/api/customer-agent-conversations

Create a new Customer Agent conversation with no messages.

Continue this conversation using POST /api/customer-agent-responses with the returned conversation attached.

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

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 3 fields
    • type#stringrequired
      Allowed values:
      • customer-agent-conversation
    • attributes#objectrequired
      Show 3 fields
      • mode#stringrequired

        Whether the conversation is for testing or a real shopper interaction. preview conversations are excluded from billing, Customer Agent conversations, and production metrics. live conversations count toward billing, Customer Agent conversations, and production metrics once a message is sent to them.

        Allowed values:
        • preview
        • live
      • channel#string

        Channel this conversation is associated with. Determines response conventions once messages are sent. Optional; defaults to web-chat.

        Allowed values:
        • web-chat
        • sms
        • email
        • whatsapp

        Default: web-chat

        Example: web-chat

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

        Show 4 fields
        • email#stringnullable
        • first_name#stringnullable
        • last_name#stringnullable
        • phone_number#stringnullable
    • relationships#object
      Show 2 fields
      • 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.

      • service-ticket#object
        Show 1 field
        • data#objectrequired
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • service-ticket
          • id#stringrequired

            Open ticket to add this live conversation to. The conversation takes the ticket's customer. Optional; without it, a live conversation gets a new ticket.

Responses

201Success

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