{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Send a test email of a template to one or more recipients.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m`<br>Daily: `100/d`\n\n**Scopes:**\n`templates:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable/apis/create_template_preview_send_job.json)","properties":{"query":{"type":"object","properties":{"fields[template-preview-send-job]":{"type":"array","items":{"type":"string","enum":["created_at","id","status"]},"description":"For more information please visit https://developers.klaviyo.com/en/v2026-10-15/reference/api-overview#sparse-fieldsets"}},"required":[],"additionalProperties":false},"headers":{"type":"object","properties":{"revision":{"type":"string","default":"2026-10-15","enum":["2026-10-15"],"description":"API endpoint revision (format: YYYY-MM-DD[.suffix])"}},"required":["revision"],"additionalProperties":false},"body":{"$ref":"#/definitions/TemplatePreviewSendJobCreateQuery"}},"required":["headers","body"],"additionalProperties":false,"definitions":{"TemplatePreviewSendJobCreateQuery":{"type":"object","properties":{"data":{"$ref":"#/definitions/TemplatePreviewSendJobCreateQueryResourceObject"}},"required":["data"]},"TemplatePreviewSendJobCreateQueryResourceObject":{"type":"object","properties":{"type":{"$ref":"#/definitions/TemplatePreviewSendJobEnum"},"attributes":{"type":"object","properties":{"recipients":{"description":"A list of email addresses to send the test email to. Limited to 5 recipients per request.","type":"array","items":{"type":"string"},"examples":[["test@example.com"]]},"context":{"description":"A JSON object of merge-variable values to render the template with. See [the template context docs](https://help.klaviyo.com/hc/en-us/articles/4408802648731) for details.","type":["object","null"],"examples":[{"first_name":"Jane"}]}},"required":["recipients"]},"relationships":{"type":"object","properties":{"template":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"$ref":"#/definitions/TemplateEnum"},"id":{"description":"The template to send as a preview.","type":"string"}},"required":["type","id"]}}},"profile":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"$ref":"#/definitions/ProfileEnum"},"id":{"description":"Optional profile to use as the merge-variable source when rendering. If omitted, a synthetic profile is used.","type":"string"}},"required":["type","id"]}}}},"required":["template"]}},"required":["type","attributes","relationships"]},"TemplatePreviewSendJobEnum":{"type":"string","enum":["template-preview-send-job"]},"TemplateEnum":{"type":"string","enum":["template"]},"ProfileEnum":{"type":"string","enum":["profile"]}}},"name":"Create Template Preview Send Job","id":"klaviyo.create_template_preview_send_job","example":{"headers":{"revision":"2026-10-15"},"body":{"data":{"type":"template-preview-send-job","attributes":{"recipients":["test@example.com"]},"relationships":{"template":{}}}}},"maxRequests":1,"summary":false}}