---
title: "Get Template Data"
method: GET
path: "/v1/template/{template_id}"
---

# Get Template Data

`GET /v1/template/{template_id}`

## Response `200`

Example response

- object
  - `prompt` string, nullable
  - `message` string, required
  - `template` string, nullable

## Other responses

- `401` — Example response
- `500` — Example response

## Changes

- **2023-12-05** `5c3748c387f7` — 2 breaking, 32 warning, 10 info
  - the response property `template` became nullable for the status `200`
  - the `template` response's property type changed from `object` to `string, null` for status `200`
  - deleted the `header` request parameter `X-Team-Id`
  - removed the optional property `template/ai_meta` from the response with the `200` status
  - …40 more

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/template/:template_id/get.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/cd865d59d034/schema)
