---
title: "List template properties"
type: reference
method: GET
path: /rest-api/template/template-property/list.do
tag: "Templates"
---

# List template properties

`GET https://YOUR-NETWORK-DOMAIN/rest-api/template/template-property/list.do`

Returns all properties defined for the specified template, including each property's ID, title, unique macro key, type (FILE, STRING, INTEGER, BOOLEAN, SELECT, PLACEMENT_KEY, HTML5_ZIP), required flag, display order, and type-specific configuration such as allowedContentTypes or maxLength. The response is a SearchResult wrapper containing a 'data' array of property objects and a 'total' count. Returns an empty list if the template does not exist or if the caller lacks VIEW permission. Requires VIEW permission on the template through ownership or sharing.

## Query params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `templateId` | integer | yes | `300` | Unique numeric identifier of the template whose properties should be listed |

## Responses

- `200` — List of template properties
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Forbidden — insufficient permissions

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/template/template-property/list.do?templateId=300' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/templates/get-template-template-property-list