# OpenAPI Validation Webhook Testing

This OpenAPI file, validation\_webhook.yaml, describes the API that must be implemented by your validation endpoint.  This definition can be used in Postman or a similar API tool to create a server.  Below we have body and response examples & schemas for review.

{% file src="/files/nA6oW38srWaptYUktzja" %}

{% openapi src="/files/nA6oW38srWaptYUktzja" path="/validate" method="post" expanded="true" %}
[validation\_webhook.yaml](https://353417064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYrsDW6vGBTygB1qqSE%2Fuploads%2FBfXDEbXRCaqnYzgHr26P%2Fvalidation_webhook.yaml?alt=media\&token=93d5081a-b11d-42ff-a8d3-9e2a173202eb)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.osmos.io/developer-docs/validation-and-transformation-webhooks/openapi-validation-webhook-testing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
