---
title: "POST /public_api/webhook/event_test/{id}/"
method: POST
path: "/public_api/webhook/event_test/{id}/"
tags: ["webhook"]
---

# POST /public_api/webhook/event_test/{id}/

`POST /public_api/webhook/event_test/{id}/`

API for testing webhook events, inherits from AppTestEventAPI
and customizes schema generation settings.

## Path parameters

- `id` integer, required

## Query parameters

- `event_id` 'boleto_gerado' | 'chargeback' | 'checkout_abandonment' | 'initiate_checkout' | 'openfinance_nubank_gerado' | 'picpay_gerado' | 'pix_gerado' | 'purchase_approved' | 'purchase_refused' | 'refund' | 'subscription_canceled' | 'subscription_created' | 'subscription_renewal_refused' | 'subscription_renewed'

## Response `200`

Corpo da resposta status 200

- WebhookTest200
  - `detail` string, required

## Other responses

- `400` — Corpo da resposta status 400
- `401` — Request não autenticado devido à ausência ou invalidez do token.
- `422` — Corpo da resposta status 422

---

[API](https://skmtc.dev/cakto/apis/cakto-api.md) · [All operations](https://skmtc.dev/cakto/apis/cakto-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cakto/cakto-api/revisions/cba77b0560b5/schema)
