---
updatedAt: 2026-08-14T00:03:45.000Z
---

# Render creative tag preview

Generate a preview of a creative tag using the provided `content_tag`, `rule_key`, and optional `template_id`. The response contains the rendered tag preview along with any validation errors or warnings.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Creative API Resources",
    "version": "2.0.0",
    "description": "Buzz API v2"
  },
  "paths": {
    "/creatives/tag-preview": {
      "post": {
        "operationId": "creatives_tag_preview_create",
        "description": "Generate a preview of a creative tag using the provided `content_tag`, `rule_key`, and optional `template_id`. The response contains the rendered tag preview along with any validation errors or warnings.",
        "summary": "Render creative tag preview",
        "tags": [
          "Creatives"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "content_tag": {
                    "type": "string",
                    "example": "<div>{{creative}}</div>"
                  },
                  "rule_key": {
                    "type": "string",
                    "example": "RULE_123"
                  },
                  "template_id": {
                    "type": "integer",
                    "example": 42
                  }
                },
                "required": [
                  "content_tag"
                ]
              }
            }
          }
        },
        "security": [
          {
            "nestSessionAuth": []
          },
          {
            "nestBasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "content_tag_preview": {
                      "type": "string",
                      "example": "<div>Rendered output</div>"
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "example": [
                        "Invalid tag format"
                      ]
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "example": [
                        "Deprecated variable used"
                      ]
                    }
                  }
                }
              }
            },
            "description": "Preview rendered successfully."
          },
          "400": {
            "description": "Invalid request data or template ID not found."
          },
          "401": {
            "description": "Authentication credentials were not provided."
          },
          "500": {
            "description": "Unexpected internal server error."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "nestBasicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Form-based Basic Authentication"
      },
      "nestSessionAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Form-based Basic Authentication"
      }
    }
  },
  "x-explorer-enabled": false,
  "x-samples-languages": [
    "curl",
    "node",
    "ruby",
    "javascript",
    "python",
    "php",
    "java"
  ],
  "servers": [
    {
      "url": "https://{buzz_key}.api.beeswax.com/rest/v2",
      "variables": {
        "buzz_key": {
          "default": "stingersbx",
          "description": "Unique customer ID assigned by the Beeswax"
        }
      }
    }
  ],
  "x-readme": {
    "apply-endpoint-order": true,
    "apply-tag-changes": true
  }
}
```