API referenceWebhooks
Test a webhook subscription
Delivers a webhook.ping now and answers with what the URL answered.
Authorization
apiKey X-API-Key<token>
API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)
In: header
Path Parameters
id*string
Subscription ID
Header Parameters
Idempotency-Key*string
Idempotency key that prevents processing a request twice. Use a unique UUID v4 per request.
Length
length <= 255Response Body
application/json
application/json
curl -X POST "https://example.com/webhooks/whs_abc123/test" \ -H "Idempotency-Key: string"{ "duration_ms": 0, "error": "string", "http_status": 0, "response_body": "string", "success": true}