Ingest a webhook event
Accept an event for a specific subscription. Requires HMAC signature and event type headers if the subscription is configured with a secret.
Headers
-
The type of event being delivered (e.g., order.created).
-
HMAC SHA256 signature of the request body, prefixed with "sha256=".
POST
/ingest/{subscription_id}
curl \
--request POST 'http://localhost:8080/ingest/{subscription_id}' \
--header "Content-Type: application/json" \
--header "X-Event-Type: string" \
--header "X-Hub-Signature-256: string" \
--data '{"data":{"id":"123","amount":42},"event":"order.created"}'
Request example
{
"data": {
"id": "123",
"amount": 42
},
"event": "order.created"
}
Response examples (404)
{
"error": "string"
}
Response examples (500)
{
"error": "string"
}