---
title: "Configure an instance webhook"
method: POST
path: "/v1/webhook/set/{instance}"
tags: ["Webhooks"]
---

# Configure an instance webhook

`POST /v1/webhook/set/{instance}`

## Request

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

Enables or updates the outbound webhook target. Call signaling is emitted only when the configured events include CALL; payloads never contain media, SDP, relay data, or call keys.

## Path parameters

- `instance` string, required

## Request body

- DtoSetWebhookRequest
  - `webhook` DtoSetWebhookRequestData, required
    - `base64` boolean
    - `enabled` boolean
    - `events` string[]
    - `headers` object
    - `url` string

## Response `200`

OK

- DtoSetWebhookResponse
  - `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/webhook/set/:instance/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)
