---
title: "verify AsyncAPI messages"
method: PUT
path: "/mockserver/asyncapi/verify"
tags: ["asyncapi"]
---

# verify AsyncAPI messages

`PUT /mockserver/asyncapi/verify`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/asyncapi/verify`
- Auth: none declared

Verifies that messages were published/received against the loaded AsyncAPI mock. Requires the mockserver-async module on the classpath.

## Request body

- object: AsyncAPI message verification request

## Response `202`

verification passed

## Other responses

- `400`: empty or invalid verification request
- `406`: verification failed
- `501`: AsyncAPI messaging module is not available on the classpath

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
