---
title: "Test Webhook"
method: POST
path: "/v1/webhooks/test"
tags: ["webhooks"]
---

# Test Webhook

`POST /v1/webhooks/test`

Send a test webhook to verify the endpoint is working.

Sends a fake message payload to the configured URL.
Pass ?agentId=... to control which agent appears in the payload;
otherwise the first agent in the account is used.

## Query parameters

- `agentId` string, nullable — Agent ID to include in the test payload

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agentphone/apis/agentphone-api.md) · [All operations](https://skmtc.net/agentphone/apis/agentphone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentphone/agentphone-api/versions/3f3aa65dcd20/schema)
