---
title: "Test webhook topic"
method: POST
path: "/webhooks/{id}/topics/{topic}/test"
tags: ["Webhooks"]
---

# Test webhook topic

`POST /webhooks/{id}/topics/{topic}/test`

Test a webhook by sending a test event for a specific topic. This will send a example payload of what this topic provides.

## Path parameters

- `id` string, uuid, required
- `topic` string, required

## Response `200`

The request has succeeded.

- WebhookTest — Response from testing a webhook
  - `url` string, required — URL that was called
  - `webhook` Webhook, required
    - `id` string, uuid
    - `url` string, required
    - `sharedSecret` SharedSecret, required
      - `header` string
      - `credential` string, required
    - `createdDate` string, date-time, required
  - `samplePayload` object — Sample payload that was sent

## Other responses

- `400` — The request is missing required parameters or has invalid parameters
- `401` — Missing or invalid token
- `403` — User does not have permission to access this resource
- `500` — Server error

---

[API](https://skmtc.dev/pax8/apis/authentication.md) · [All operations](https://skmtc.dev/pax8/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pax8/authentication/revisions/4026bf405528/schema)
