---
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

---

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