---
title: "Render Liquid template"
method: POST
path: "/api/markup"
tags: ["Markup"]
---

# Render Liquid template

`POST /api/markup`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/markup`
- Auth: HTTP bearer

## Request body

- object
  - `markup` union, required
    - string
    - string[]
  - `variables` object, required

## Response `200`

Success

- object
  - `data` union
    - string
    - string[]

## Other responses

- `401`: No API key or session
- `403`: API key without the read capability

---

[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)
