Receive Webhook (v1)
General webhook endpoint for receiving and logging webhook payloads.
Method & Path
POST /v1/webhooks
GET /v1/webhooks
Description
A general-purpose webhook endpoint that receives webhook payloads from external services. The payload is logged to the console for debugging purposes. Supports both POST (for actual webhooks) and GET (for testing).
Authentication
None required - This is a public endpoint for receiving external webhooks.
Headers
Content-Type: application/json
Query Parameters
None.
Request Body (POST)
Any JSON payload. The endpoint accepts any structure:
{
"event": "example.event",
"data": {
"key": "value"
}
}
Response 200 OK
{
"success": true,
"message": "Webhook received and logged"
}
Common Errors
- 500 Internal Server Error: Server error
note
This endpoint logs the full request body and headers to the console. Use it for debugging webhook integrations.