GET
/
webhooks
List all webhooks
curl --request GET \
  --url http://localhost:3001/portal-api/webhooks
[
  {
    "ID": "<string>",
    "Name": "<string>",
    "URL": "<string>",
    "Method": "<string>",
    "Timeout": 123,
    "Headers": [
      {
        "ID": "<string>",
        "Name": "<string>",
        "Value": "<string>"
      }
    ],
    "Events": [
      "AccessRequestApproved"
    ]
  }
]

Response

200 - application/json

A list of webhooks.

ID
string

Unique identifier for the webhook

Name
string

Name of the webhook

URL
string

URL to which the webhook will send requests

Method
string

HTTP method used by the webhook (e.g., GET, POST)

Timeout
integer

Timeout in seconds for the webhook request

Headers
object[]

List of custom headers included in the webhook request

Events
enum<string>[]

List of event types that trigger the webhook