Skip to main content

Lookup Webhook by Key

Overview​

Looks up a webhook configuration by its unique key. This is the same lookup mechanism used by the dynamic webhook router when an incoming request arrives — it resolves the key to determine which configuration should handle the payload. Returns all configurations if key is empty.

Command Details​

  • Command: LookupWebHookByKeyCommand
  • Type: Command (read operation)

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
$typestringYesMust be LookupWebHookByKeyCommand
keystringNoThe unique key of the webhook configuration to look up (returns all if empty)

Try It Out​

POST/api/bpm/cmdLookupWebHookByKeyCommand
Request Body

Response Structure​

Success:

{
"success": true,
"data": {
"id": 201,
"key": "payment-notification",
"description": "Handle incoming payment notifications from NIBSS",
"isEnabled": true,
"path": "/webhooks/nibss/payment",
"action": "POST",
"executionType": 0,
"commandName": "ProcessNibssPaymentNotificationCommand",
"createdAt": "2026-03-09T10:30:00Z"
},
"message": "Webhook configuration found"
}

Error:

{
"success": false,
"data": null,
"message": "Lookup failed",
"errors": [
"No webhook configuration found with the specified key"
]
}