Visitar URL original
Create Service Message | Klaviyo API ReferenceSkip to content

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

KlaviyoKlaviyoDevelopers

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.

POSThttps://a.klaviyo.com/api/service-messages

Sends a support rep's reply on a Helpdesk ticket.

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

Query parameters

  • fields[service-message]#string[]

    For more information please visit API overview

    Allowed values:
    • author_type
    • channel
    • content
    • created_at
    • id

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:
      • service-message
    • attributes#objectrequired
      Show 1 field
      • content#stringrequired

        The reply.

        Example: Your order shipped today.

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

            Ticket to reply on.

      • user#objectrequired
        Show 1 field
        • data#objectrequired
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • user
          • id#stringrequired

            Klaviyo user sending the reply.

Responses

201Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • service-message
    • id#stringrequired

      Service message identifier.

      Example: 48213907

    • attributes#objectrequired
      Show 4 fields
      • author_type#stringrequired

        Who wrote the message.

        Allowed values:
        • customer
        • human-agent
        • ai-agent
        • automation

        Example: human-agent

      • channel#stringrequired

        Channel the message was sent on.

        Example: email

      • content#stringrequired

        Message content.

        Example: Your order shipped today.

      • created_at#string<date-time>required

        Date and time when the message was sent.

        Example: 2026-10-01T12:00:00+00:00

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

            Ticket the message belongs to.

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

            Klaviyo profile of the customer who wrote the message, if known.

      • user#object
        Show 1 field
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • user
          • id#stringrequired

            Klaviyo user who wrote the message, for a support rep's message.

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