---
title: "Get template metadata fields"
method: GET
path: "/api/v1/organization/template/metafields"
tags: ["Template MetaFields"]
---

# Get template metadata fields

`GET /api/v1/organization/template/metafields`

Retrieve all metadata fields defined in a template.

Required permissions, when user-scoped authentication is used: `PRODUCT_VIEW`.

## Query parameters

- `templateId` integer, required

## Response `200`

List of metadata fields

- TemplateMetaField[]
  - `id` integer, required — MetaField ID
  - `name` string, required — MetaField name
  - `type` 'MultiText' | 'Text' | 'Email' | 'Number' | 'Range' | 'Shift' | 'Switch' | 'Cost' | 'Contact' | 'Measurement' | 'Time' | 'Coordinates' | 'Address' | 'List' | 'Table' | 'DeviceReference' | 'Location' | 'Tz' | 'Image' | 'DeviceName' | 'DeviceOwner' | 'HotspotName' | 'Imei' | 'ICCID' | 'Int' | 'DeviceEui' | 'JoinEui' | 'ApplicationKey' | 'BluesDevice' | 'OTASettings' | 'TheThingsNetwork' | 'MyriotaTerminalId' | 'ThingName', required — MetaField type
  - `description` string — MetaField description
  - `hint` string — MetaField hint for the provisioning form
  - `icon` string — MetaField icon

## Other responses

- `400` — Bad request
- `403` — Forbidden
- `404` — Template not found or access denied
- `429` — Too many requests
- `500` — Internal server error

---

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