---
title: "Get template properties"
type: reference
method: GET
path: /rest-api/template/{templateId}/properties.do
tag: "Templates"
---

# Get template properties

`GET https://YOUR-NETWORK-DOMAIN/rest-api/template/{templateId}/properties.do`

Returns the list of all properties (both required and optional) defined for the given creative template. Each property in the response includes its ID, template ID, title, unique macro key (e.g., '$$BANNER_SMALL$$'), required flag, type (e.g., File, String), and type-specific fields such as allowedContentTypes for file properties or maxLength for string properties. Returns an empty array if the template has no properties defined. Requires VIEW permission on the template through ownership or sharing.

## Path params

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

## Responses

- `200` — List of template properties
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Insufficient permissions
- `404` — Template not found

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/template/801/properties.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

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