Skip to main content

Get Webhook Configuration by ID

Overview​

Retrieves a single webhook configuration by its unique ID. Returns the full configuration details including execution type settings and enabled status.

Command Details​

  • Command: GetWebHookConfigByIdQuery
  • Type: Query (read operation)

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
$typestringYesMust be GetWebHookConfigByIdQuery
idlongYesThe ID of the webhook configuration to retrieve

Try It Out​

POST/api/bpm/cmdGetWebHookConfigByIdQuery
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",
"allowableIPs": "196.46.20.0/24",
"createdAt": "2026-03-09T10:30:00Z",
"updatedAt": "2026-03-09T15:00:00Z"
},
"message": "Webhook configuration retrieved successfully"
}

Error:

{
"success": false,
"data": null,
"message": "Configuration not found",
"errors": [
"No webhook configuration found with the specified ID"
]
}