Example webhook endpoint
Currently single element
Additional data specific for event. Currently placeholder for future more complex events. More information in Event types section.
curl -i -X POST \
https://redocly.sportalliance.com/_mock/apis/magicline/webhooks/webhooks/webhook \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"entityId": 7893459,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"payload": [
{
"timestamp": 1642779144176,
"type": "CUSTOMER_CREATED",
"content": {
"field": "value"
}
}
]
}'