Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/create_client_review_beta.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

This endpoint is in beta. Call it with the revision header 2025-01-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 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Create Client Review

POSThttps://a.klaviyo.com/client/reviews

Create a review with the given ID. This endpoint is for client-side environments only.

Revision header
revision: 2025-01-15.prerequired
Scopes
No scopes required
Authentication
Public API key (site ID), in the company_id query parameter
Rate limits
Burst: 10/sSteady: 150/m

Query parameters

  • company_id#stringrequired

    Your Public API Key / Site ID. See this article for more details.

    Example: PUBLIC_API_KEY

Headers

  • revision#stringrequired

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

    2025-01-15.pre

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • review
    • attributes#objectrequired
      Show 10 fields
      • review_type#stringrequired

        The type of this review -- either a review or a question

        Allowed values:
        • question
        • rating
        • review
        • store

        Example: review

      • email#stringrequired

        The email of the author of this review

        Example: random.123@gmail.com

      • author#stringrequired

        The author of this review

        Example: firstName lastName

      • content#stringrequired

        The content of this review

        Example: This was an absolutely amazing t-shirt. I loved the color and the fit.

      • incentive_type#stringnullable

        The incentive type for the review

        Allowed values:
        • coupon_or_discount
        • employee_review
        • free_product
        • loyalty_points
        • other
        • paid_promotion
        • sweepstakes_entry
      • product#object
        Show 2 fields
        • external_id#stringrequired

          The external ID of the product

          Example: 7549950034135

        • integration_key#stringrequired

          The integration key of the product in lowercase

          Allowed values:
          • shopify
          • woocommerce

          Example: shopify

      • rating#integernullable

        The rating of this review on a scale from 1-5. If the review type is "question", this field will be null.

        Allowed values:
        • 1
        • 2
        • 3
        • 4
        • 5

        Example: 2

      • title#stringnullable

        The title of this review

        Example: Great product!

      • custom_questions#object[]nullable

        Custom question and answers for the review

        Show 2 fields
        • id#stringrequired

          The ID of the custom question

          Example: 9ff0d32e-0edb-4513-a6a5-12814a6cb755

        • answers#string[]required

          The answers to the custom question

      • images#string[]nullable

        The list of images submitted with this review (represented as a list of urls or base-64 encoded data-uri). If there are no images, this field will be an empty list.

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

            The Order ID related to the review

            Example: 42439497119686

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