Retrieve webhook configuration

Retrieves the details of a specific webhook configuration for the Tenant by its unique ID, including the Target URL, subscribed events, and other settings.

GET
/v2/manage/webhooks/{hookId}

Retrieves the details of a specific webhook configuration for the Tenant by its unique ID, including the Target URL, subscribed events, and other settings.

Authorization

M2MBearerToken
AuthorizationBearer <token>

M2M Token for authentication

In: header

Path Parameters

hookId*string

Webhook ID

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.loginradius.com/v2/manage/webhooks/1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
{
  "Id": "wh_001",
  "TargetUrl": "https://example.com/webhook",
  "Event": "Login",
  "CreatedDate": "2025-04-08T12:00:00Z",
  "LastModifiedDate": "2025-04-08T12:30:00Z",
  "SecretName": "webhook-secret",
  "Name": "TestSecret",
  "IsIntegrationWebhook": true,
  "Headers": {
    "X-Custom-Header": "CustomValue",
    "Authorization": "Bearer abc123"
  },
  "QueryParams": {
    "token": "xyz987",
    "mode": "sync"
  },
  "Authentication": {
    "AuthType": "Basic",
    "BasicAuth": {
      "Username": "admin",
      "Password": "password123"
    },
    "BearerToken": {
      "Token": "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
    }
  }
}
{
  "Message": "A parameter is not formatted correctly (Parameter name in Response)",
  "Description": "The webhook subscription id is not valid.",
  "ErrorCode": 7900
}

{
  "Message": "Access Unauthorized",
  "Description": "Access Unauthorized, please use valid authorization to access this endpoint.",
  "ErrorCode": 6002
}

{
  "Message": "WebHook configuration not found",
  "Description": "WebHook configuration not found or the resource does not exist.",
  "ErrorCode": 7986
}