Create Webhook
curl --request POST \
--url https://api.simmer.markets/api/sdk/webhooks \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"secret": "<string>"
}
'{
"id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"active": true,
"created_at": "<string>",
"consecutive_failures": 0,
"last_delivery_at": "<string>"
}Webhooks
Create Webhook
Register a webhook URL to receive event notifications.
Events:
- trade.executed: Fired when a trade fills or is submitted
- market.resolved: Fired when a market you hold positions in resolves
- price.movement: Fired on >5% price change for markets you hold
Payload includes X-Simmer-Signature header (HMAC-SHA256) if secret is set. Webhooks auto-disable after 10 consecutive delivery failures.
POST
/
api
/
sdk
/
webhooks
Create Webhook
curl --request POST \
--url https://api.simmer.markets/api/sdk/webhooks \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"secret": "<string>"
}
'{
"id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"active": true,
"created_at": "<string>",
"consecutive_failures": 0,
"last_delivery_at": "<string>"
}Body
application/json
⌘I
