curl -X POST 'https://api.serialized.xyz/v1/webhook/price/tpsl/test' \
-H 'Authorization: YOUR_API_KEY'
{
"data": {
"id": "tpsl",
"eventId": "ping_9f3c2a71d04b6e58",
"delivered": true,
"status": 200
}
}
Price Webhooks
Test a Price Webhook
Send a signed ping to a price webhook’s URL and see what your endpoint answered. Free.
POST
/
v1
/
webhook
/
price
/
{id}
/
test
curl -X POST 'https://api.serialized.xyz/v1/webhook/price/tpsl/test' \
-H 'Authorization: YOUR_API_KEY'
{
"data": {
"id": "tpsl",
"eventId": "ping_9f3c2a71d04b6e58",
"delivered": true,
"status": 200
}
}
POST /v1/webhook/price/{id}/test · Free
Sends a signed ping to the webhook’s URL: {"type": "ping", "eventId": "ping_…", "webhookId": "…", "at": <ms>}, with the headers and signature of a real message (verify the signature). delivered is true when your endpoint answered a 2xx within 5 seconds; otherwise status gives what it answered and error what went wrong. Redirects are not followed. A ping can come from a different address than your messages: do not allowlist by IP, verify the signature. One ping per webhook every 5 seconds (429 with details.limit: "priceWebhookTest" and Retry-After otherwise; priceWebhookTestInFlight when too many pings are in progress at once, retry after a second). Free.
curl -X POST 'https://api.serialized.xyz/v1/webhook/price/tpsl/test' \
-H 'Authorization: YOUR_API_KEY'
{
"data": {
"id": "tpsl",
"eventId": "ping_9f3c2a71d04b6e58",
"delivered": true,
"status": 200
}
}