---
title: "Update data for a webhook plugin setting"
method: POST
path: "/api/plugin_settings/{id}/data"
tags: ["Plugin Settings"]
---

# Update data for a webhook plugin setting

`POST /api/plugin_settings/{id}/data`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/plugin_settings/{id}/data`
- Auth: HTTP bearer

## Request body

- object
  - `merge_variables` unknown, required

## Response `200`

Success with UUID (no auth required)

- object
  - `error` string, nullable, required: Null when the write succeeded
  - `merge_variables` object, nullable, required: The variables now stored
  - `processing` string: Present when a transform runs out of band, so the variables are not final

## Other responses

- `401`: Unauthorized
- `404`: Not found
- `422`: Data cannot be modified

---

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