---
title: "Test a parsing script with sample data"
method: POST
path: "/api/v1/webhooks/configurations/test-script"
tags: ["webhooks"]
---

# Test a parsing script with sample data

`POST /api/v1/webhooks/configurations/test-script`

## Request body

- TestWebhookScriptRequestDto
  - `parsingScript` string, required
  - `testPayload` object, required
  - `testHeaders` object

## Response `200`

- TestWebhookScriptResponseDto
  - `success` boolean, required
  - `parsedData` object, nullable, required
  - `errorMessage` string, nullable, required
  - `validationErrors` object[]
    - `inputId` string, required
    - `message` string, required

## Changes

> 49 revisions in range; 1 could not be searched.

- **2026-01-01** `f432cb769a69` — 1 breaking, 1 info
  - removed the success response with the status `201`
  - added the success response with the status `200`
- **2026-01-01** `5bb404a1ab99` — 1 info
  - endpoint added
- **2025-10-24** `8db531c050e5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/changes/api/v1/webhooks/configurations/test-script/post.md)

---

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