---
title: "Preview Template API"
method: GET
path: "/v3/metainfo/template/preview"
tags: ["WhatsApp Templates"]
---

# Preview Template API

`GET /v3/metainfo/template/preview`

## Request

- Base URL: `https://cpaaswa.netcorecloud.net/api`
- URL: `https://cpaaswa.netcorecloud.net/api/v3/metainfo/template/preview`
- Auth: HTTP bearer

Preview a WhatsApp template to see exactly how it will look before sending. This feature allows you to check for any errors or adjustments needed.

## Query parameters

- `templatename` string
- `templateid` integer

## Response `200`

Successfully generated template preview

- PreviewTemplateSuccessResponse
  - `status` string, required
  - `message` string, required
  - `preview_data` object, required: Template preview information

## Other responses

- `400` (unresolved $ref)
- `401` (unresolved $ref)
- `500` (unresolved $ref)

---

[API](https://skmtc.dev/netcorecloud/apis/whatsapp-api.md) - [All operations](https://skmtc.dev/netcorecloud/apis/whatsapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/netcorecloud/apis/whatsapp-api/revisions/82cdf689fb7a?raw)
