/forms/{formId}/templates/{kind}/previewPreview a form's email template
Previews a form's email template without sending an email. Use kind to choose the notification or autoresponder template, and optionally provide data to render the template with specific submission values. If you omit data, the preview uses example data derived from the form's recent submissions.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Optional preview data for rendering the template. If omitted, the preview uses example data derived from the form's recent submissions.
A 400 is returned for malformed requests or validation failures; a 401 is returned when the token is missing, malformed, revoked, or expired; a 403 is returned when the token lacks the required scope, the workspace is not upgraded, or a limit is reached; and a 404 is returned when the resource does not exist. A 429 means the caller is rate limited, a 500 indicates an error on the service's end, and a 503 means the template service is unavailable. The formId path parameter must contain at least one character, and the kind path parameter must be notification or autoresponder. The optional data field accepts an object of stand-in submission values.