Skip to content

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

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

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

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-07-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

    Allowed values:
    • created_at
    • id
    • status
    • updated_at

Headers

  • revision#stringrequired

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

    2026-07-15.pre

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 2 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

        Optional public customer identity for this conversation.

        Show 5 fields
        • email#stringnullable
        • first_name#stringnullable
        • last_name#stringnullable
        • phone_number#stringnullable
        • profile_id#stringnullable

Responses

201Success

Content type: application/vnd.api+json

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

      Conversation identifier.

      Example: conv_abc123

    • attributes#objectrequired
      Show 3 fields
      • status#stringrequired

        Current lifecycle status of the conversation.

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

        Example: resolved-by-ai

      • 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 1 field
      • 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