---
title: "Log with logs[] (array)"
method: POST
path: "/api/log"
tags: ["Device API"]
---

# Log with logs\[\] (array)

`POST /api/log`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/log`
- Auth: none declared. Required headers: `Access-Token`

## Headers

- `Access-Token` string, required

## Request body

- object
  - `logs` unknown[], required
    - unknown

## Response `204`

Logs created when ignore_log_messages is not set

---

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