---
title: "Update Whatsapp Config"
method: PUT
path: "/admin/whatsapp-config"
tags: ["Configuración de Whatsapp"]
---

# Update Whatsapp Config

`PUT /admin/whatsapp-config`

Actualizar configuración de whatsapp

## Request body

- UserConfigWhatsappCreate
  - `token` string, required
  - `codigo_canal` string
  - `plantilla_orden_pago` string, required
  - `plantilla_confirmacion_pago` string, required
  - `dias_antes_a_notificar` integer, required

## Response `200`

Successful Response

- UserConfigWhatsappOut
  - `id` integer, nullable
  - `token` string, nullable
  - `codigo_canal` string, nullable
  - `plantilla_orden_pago` string, nullable
  - `plantilla_confirmacion_pago` string, nullable
  - `dias_antes_a_notificar` integer, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-01** `7d76e9df969f` — 1 breaking, 1 info
  - added the new required request property `dias_antes_a_notificar`
  - added the optional property `dias_antes_a_notificar` to the response with the `200` status
- **2026-08-28** `709a449b3ff9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/factpro/apis/note-service-api/changes/admin/whatsapp-config/put.md)

---

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