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

# Update an existing instance

`PUT /instance/update/{id}`

Updates webhook and proxy settings for the given instance

## Path parameters

- `id` string, required

## Request body

- DtoUpdateInstanceRequest
  - `proxyHost` string
  - `proxyPassword` string
  - `proxyPort` string
  - `proxyProtocol` string
  - `proxyUsername` string
  - `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
  - `readStatus` boolean
  - `rejectCall` boolean
  - `remoteJID` string
  - `syncFullHistory` boolean
  - `syncRecentHistory` boolean
  - `webhook` ModelsInstanceWebhook
    - `base64` boolean
    - `byEvents` boolean
    - `enabled` boolean
    - `events` string[]
    - `headers` object
    - `url` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/verbeux-ai/apis/whatsmiau-api.md) · [All operations](https://skmtc.net/verbeux-ai/apis/whatsmiau-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verbeux-ai/whatsmiau-api/versions/5af3cb49985a/schema)
