---
title: "Update an existing instance"
method: PUT
path: "/v1/instance/update/{id}"
tags: ["Instance"]
---

# Update an existing instance

`PUT /v1/instance/update/{id}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/instance/update/{id}`
- Auth: API key in header `apikey`

Updates webhook and proxy settings for the given instance

## Path parameters

- `id` string, required

## Request body

- DtoUpdateInstanceRequest
  - `alwaysOnline` boolean
  - `groupsIgnore` boolean
  - `msgCall` string
  - `proxyHost` string
  - `proxyPassword` string
  - `proxyPort` string
  - `proxyProtocol` string
  - `proxyUsername` string
  - `readMessages` boolean
  - `rejectCall` boolean
  - `saveMedia` boolean
  - `webhook` object
    - `base64` boolean
    - `enabled` boolean
    - `events` string[]
    - `url` string

## Response `201`

Created

- DtoUpdateInstanceResponse
  - `alwaysOnline` boolean
  - `groupsIgnore` boolean
  - `id` string
  - `msgCall` string
  - `proxyHost` string
  - `proxyPassword` string
  - `proxyPort` string
  - `proxyProtocol` string
  - `proxyUsername` string
  - `readMessages` boolean
  - `rejectCall` boolean
  - `remoteJID` string
  - `saveMedia` boolean
  - `syncFullHistory` boolean
  - `webhook` ModelsInstanceWebhook
    - `base64` boolean
    - `enabled` boolean
    - `events` string[]
    - `headers` object
    - `url` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

## Changes

- **2026-07-18** `f812473c5a89`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/changes/v1/instance/update/:id/put.md)

---

[API](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api.md) - [All operations](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/revisions/b425ec589eb0?raw)
