Skip to content

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

KlaviyoKlaviyoDevelopers
v2026-10-15

Create Conversation Message

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

Send an outbound message to a conversation.

Requires account-level enablement. To request access, reach out in the developer community.

Revision header
revision: 2026-10-15required
Scopes
conversations:write
Rate limits
Burst: 3/sSteady: 60/m

Headers

  • revision#stringrequired

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

    2026-10-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • conversation-message
    • attributes#objectrequired
      Show 2 fields
      • body#stringrequired
      • message_hierarchy#oneOf[]nullable

        An ordered RCS and SMS pair to send instead of a plain SMS: the RCS content first, then the SMS fallback delivered when RCS cannot be sent.

        One of:

        1. Option 1: MessageHierarchyRcsItem
          • message#string

            The plain text message content. Often empty for RCS when rich_content is used.

            Default:

          • message_format#string

            The format of this message (always 'RCS' for RCS entries).

            Allowed values:
            • RCS

            Default: RCS

            Example: RCS

          • rich_content#object
            Show 3 fields
            • cards#object[]nullable

              List of cards in this rich content. At most 10.

              Show 7 fields
              • id#stringrequired

                Unique identifier for this card.

                Example: 44214e8f-a2fb-43b1-a8e1-1170715ffcfa

              • title#stringnullable

                Optional title for the card. 200 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.

                Example: Special Offer

              • text#stringnullable

                The text content/description of the card. 2000 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.

                Example: Check out our new collection!

              • extra#objectnullable

                Additional card-specific metadata (e.g., product info). Optional.

              • image#oneOfnullable

                Optional image for this card.

                One of:

                1. Option 1: ImageAsset
                  • id#integerrequired

                    The unique identifier for this image asset. Not allowed on update.

                  • file_path#stringrequired

                    The file path of the image in Klaviyo's storage.

                    Example: images/aa1ee5c1-039e-4d20-9e98-345755214556.jpeg

                  • name#stringrequired

                    The human-readable name of the image.

                    Example: product-image

                  • format#stringrequired

                    The image file format.

                    Allowed values:
                    • gif
                    • jpeg
                    • jpg
                    • png
                    • webp
                  • file_size#integerrequired

                    The size of the image file in bytes.

                  • updated#string<date-time>required

                    Timestamp when the image was last updated.

                    Example: 2022-11-08T00:00:00+00:00

                  • origin#stringnullable

                    The origin/source of the image (e.g., UI, API, AI, etc.).

                    Show 22 allowed values
                    • ADOPTION_SMS_FORM_FROM_EMAIL_FORM
                    • ADOPTION_SMS_MULTI_STEP_FORM_FROM_EMAIL_FORM
                    • AI
                    • API
                    • APPLICATION
                    • CLONED
                    • COMPOSER
                    • COMPOSER_AI_EDITED
                    • COMPOSER_AI_GENERATED
                    • COMPOSER_USED_IN_KLAVIYO_OBJECT
                    • COMPOSER_USER_UPLOADED
                    • COMPOSER_WEB_SCRAPED
                    • INTEGRATION
                    • KLAVIYO
                    • KVYO_GROW
                    • LIBRARY
                    • MARKETING_AGENT
                    • SANDBOX
                    • SOCIAL_INSTAGRAM
                    • SOCIAL_INSTAGRAM_OVERLAID
                    • UI
                    • WEB_SCRAPE
                  • url#stringrequired

                    The full URL to access the image.

                    Example: https://d3k81ch9hvuctc.cloudfront.net/company/RyGRiN/images/aa1ee5c1-039e-4d20-9e98-345755214556.jpeg

                  • image_type#stringrequired

                    The type of image (static or dynamic).

                    Allowed values:
                    • dynamic
                    • static
                  • l10n_key#stringnullable

                    Localization key for this image asset, if applicable.

                    Example: sms::01KAPBZTQBAJFD5RG9NYXBWHMR::mms_static_image_asset_id

                2. Option 2: SlimImageReference
                  • static_image_asset_id#integernullable

                    ID of the static image asset when the card uses a library image.

                  • dynamic_image_template#stringnullable

                    Dynamic image template (e.g. Django tags) for the card image.

                  • rendered_asset_url#stringnullable

                    Pre-rendered image URL when available.

              • video#oneOfnullable

                Optional video for this card. May be a hydrated MediaAsset or a reference-style payload (e.g. static_asset_id), matching MMS MessageHierarchySmsItem.media behavior.

                One of:

                1. Option 1: MediaAsset
                  • id#stringrequired

                    The unique identifier for this media asset. Not allowed on update.

                  • company_id#stringrequired

                    The company ID that owns this media.

                    Example: RyGRiN

                  • url#stringrequired

                    The full URL to access the media.

                    Example: https://d3k81ch9hvuctc.cloudfront.net/company/RyGRiN/videos/01KG5BPQBSY8F12ZWTGYHPPRXC.mp4

                  • media_type#string

                    The media type (e.g., 'video' for video assets).

                    Default: video

                    Example: video

                  • name#stringrequired

                    The human-readable name of the media.

                    Example: demo video.1

                  • file_size#integerrequired

                    The size of the media file in bytes.

                  • thumbnail_url#stringnullable

                    Optional thumbnail URL for video previews in RCS cards.

                  • l10n_key#stringnullable

                    Localization key for this media asset, if applicable.

                2. Option 2: MediaAssetReference
                  • static_asset_id#stringnullable

                    Reference to a static media asset.

                  • dynamic_template#stringnullable

                    Dynamic template (e.g. Django tags) resolving to the media URL.

                  • thumbnail#SlimImageReference

                    Same fields as the first SlimImageReference above.

              • buttons#object[]nullable

                Optional action buttons for this card. At most 4.

                Show 5 fields
                • id#stringrequired

                  Unique identifier for this suggestion/button.

                  Example: quick-action-1767105662671

                • text#stringrequired

                  The display text for the suggestion button. 25 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.

                  Example: Shop Now

                • type#stringrequired

                  The type of action this suggestion performs.

                  Allowed values:
                  • OPEN_URL
                  • REPLY
                • url#stringnullable

                  The URL to open (required for OPEN_URL type).

                  Example: https://www.example.com/shop

                • open_mode#stringnullable

                  How the URL opens on the device for OPEN_URL suggestions (browser vs webview size). Emitted to Infobip as openIn. Absent means browser.

                  Allowed values:
                  • BROWSER
                  • WEBVIEW_FULL
                  • WEBVIEW_HALF
                  • WEBVIEW_TALL

                  Example: WEBVIEW_FULL

            • suggestions#RCSSuggestion[]nullable

              List of suggestion buttons for user interaction. At most 11.

              Same fields as the first RCSSuggestion above.

            • file#MediaAssetReference

              Same fields as the first MediaAssetReference above.

          • extra#objectnullable

            Additional metadata for RCS messages. Legacy placement. This is typically used in rich_content.cards.extra.

          • image#SlimImageReference

            Same fields as the first SlimImageReference above.

        2. Option 2: MessageHierarchySmsItem
          • message#stringrequired

            The plain text SMS message content.

            Example: Check out our latest deals: https://example.com

          • message_format#string

            The format of this message (always 'SMS' for SMS entries).

            Allowed values:
            • SMS

            Default: SMS

            Example: SMS

          • extra#objectnullable

            Additional metadata for SMS messages (e.g., should_use_same_content flag).

          • image#oneOfnullable

            Image reference for MMS messages. Mutually exclusive with media.

            One of:

            1. Option 1: StaticSMSImage
              • dynamic#booleannullable
                Allowed values:
                • false

                Default: false

              • static_image_asset_id#integerrequired

                The ID of the static image asset to include.

            2. Option 2: DynamicSMSImage
              • dynamic#boolean
                Allowed values:
                • true

                Default: true

                Example: true

              • dynamic_image_template#stringrequired

                Dynamic image template URL (e.g., {{product.image_url}}).

          • media#oneOfnullable

            Video media for MMS messages as either a hydrated MediaAsset or a reference-style payload. Mutually exclusive with image.

            One of:

            1. Option 1: MediaAsset

            2. Option 2: MediaAssetReference

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

            Related Conversation

Responses

202Success

This response has no body.

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