---
title: "Webhook test sink (write)"
method: POST
path: "/api/whsink/{token}"
tags: ["Paper trading"]
---

# Webhook test sink (write)

`POST /api/whsink/{token}`

## Request

- Base URL: `https://marginpad.io`
- URL: `https://marginpad.io/api/whsink/{token}`
- Auth: none declared

POST anything here and read it back with GET - the last 20 bodies for 15 minutes. Register https://marginpad.io/api/whsink/<token> as a webhook to see exactly what a delivery looks like before pointing it at your own server. No auth: the token is the secret (12-48 letters, digits, - or _).

## Path parameters

- `token` string, required

## Response `200`

ok

---

[API](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api.md) · [All operations](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/revisions/27d21fcd0bf0?raw)
