---
title: "Sends a request for each registered event type to the registered URL."
method: POST
path: "/webhooks/{id}:test"
tags: ["Custom Speech web hooks:"]
---

# Sends a request for each registered event type to the registered URL.

`POST /webhooks/{id}:test`

The payload will be generated from the last entity that would have invoked the web hook. If no entity is present for none of the registered event types,
the POST will respond with 204. If a test request can be made, it will respond with 200.
The request will contain a X-MicrosoftSpeechServices-Event header with the respective registered event type.
If the web hook was registered with a secret it will contain a X-MicrosoftSpeechServices-Signature header with an SHA256 hash of the payload with
the secret as HMAC key. The hash is base64 encoded.

## Path parameters

- `id` string, uuid, required

## Response `202`

A test request with the last entity is sent to the registered web hook.

## Other responses

- `204` — No entity could be found for any event type, so no test request is sent to the registered web hook.
- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-speechtotext/versions/931821089e0d/schema)
