---
title: "Restart an instance connection"
method: POST
path: "/v1/instance/restart/{id}"
tags: ["Instance"]
---

# Restart an instance connection

`POST /v1/instance/restart/{id}`

## Request

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

Disconnects and reconnects the WhatsApp websocket without logging out

## Path parameters

- `id` string, required

## Response `200`

OK

- DtoRestartInstanceResponse
  - `id` string
  - `instance` DtoRestartInstanceEvoCompatibility
    - `instanceName` string
    - `status` string
  - `state` 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/restart/:id/post.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)
