---
title: "Send a test webhook event for a subscription"
method: POST
path: "/v1/webhooks/subscriptions/{subscription_id}/test"
tags: ["Webhooks"]
---

# Send a test webhook event for a subscription

`POST /v1/webhooks/subscriptions/{subscription_id}/test`

Send a test webhook event for a subscription

**Required scope: `application/webhooks:write`**

## Path parameters

- `subscription_id` string, required — The unique identifier of the subscription.

## Request body

- SendTestWebhookEventRequest
  - `event_type` 'item_category.created' | 'item_category.deleted' | 'item_category.updated' | 'item.created' | 'item.deleted' | 'item.updated' | 'order.cancelled' | 'order.completed' | 'order.created' | 'order.updated' | 'payment.created' | 'payment.refunded', required

## Response `200`

Successful Response

- SendTestWebhookEventResponse
  - `message_id` string, required — The unique message identifier of the webhook event.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests

---

[API](https://skmtc.net/yoco/apis/yoco-api.md) · [All operations](https://skmtc.net/yoco/apis/yoco-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yoco/yoco-api/revisions/1ee03e82bc45/schema)
