---
title: "Check the custom fields YAML of a recipe"
method: POST
path: "/api/plugin_settings/custom_fields/verifications"
tags: ["Recipes"]
---

# Check the custom fields YAML of a recipe

`POST /api/plugin_settings/custom_fields/verifications`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/plugin_settings/custom_fields/verifications`
- Auth: HTTP bearer

Validates the YAML a recipe author writes under custom_fields, the form its installers fill in, without saving it. Each entry needs keyname, field_type and name.

## Request body

- object
  - `custom_fields` string, required: The custom fields as a YAML list

## Response `200`

Valid

- object
  - `data` object
    - `valid` boolean
    - `errors` string[]

## Other responses

- `401`: Unauthorized
- `422`: custom_fields that is not a string

---

[API](https://skmtc.dev/trmnl/apis/trmnl-api.md) · [All operations](https://skmtc.dev/trmnl/apis/trmnl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trmnl/apis/trmnl-api/revisions/66179e6d663b?raw)
