---
title: "Preview resolved template spec"
method: POST
path: "/v1/platform/apps/{appId}/templates/{template_id}/preview"
tags: ["Platform"]
---

# Preview resolved template spec

`POST /v1/platform/apps/{appId}/templates/{template_id}/preview`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/platform/apps/{appId}/templates/{template_id}/preview`
- Auth: HTTP bearer

Resolves `{{params.*}}` and `{{subject.*}}` placeholders in a template spec
without provisioning resources. Useful for validating parameterized bootstrap templates.

## Path parameters

- `appId` string, uuid, required
- `template_id` string, uuid, required

## Request body

- TemplatePreviewRequest
  - `parameters` object
  - `subject` object
    - `user_id` string
    - `external_subject` string
    - `wallet_address` string
    - `email` string

## Response `200`

Resolved template spec

- TemplatePreviewResponse
  - `resolved_spec` object, required

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
