الطلب
curl -X POST "https://api.geneh.app/v1/webhooks" \
-H "Authorization: Bearer $GENEH_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"string","events":["rate.updated"],"description":"string","filters":{"currency":["USD"],"bank":["nbe"]},"thresholds":[{"currency":"usd","side":"buy","bank":"nbe","below":54.31,"above":54.31}]}'
الرد
{
"id": "string",
"url": "string",
"description": "string",
"events": [
"rate.updated"
],
"filters": {
"currency": [
"USD"
],
"bank": [
"nbe"
]
},
"thresholds": [
{
"currency": "usd",
"side": "buy",
"bank": "nbe",
"below": 54.31,
"above": 54.31
}
],
"status": "active",
"paused_reason": "you",
"created_at": "2026-11-24T11:45:00Z",
"last_delivery": {
"at": "2026-11-24T11:45:00Z",
"status_code": 1,
"ok": true,
"ms": 54.31
},
"secret": "string"
}