Webhook Metadata API
The WSO2 Identity Server - Webhook Metadata Rest API (version v1).
Download the OpenAPI definition (YAML)
Security schemes
BasicAuth: HTTP basic
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize
1 scopes
| Scope | Description |
|---|---|
internal_webhook_view | View webhook metadata |
Webhook Metadata
List Event Profiles
GET /webhooks/metadata
This API returns the list of event profiles supported by WSO2 Identity Server.
Scope(Permission) required: internal_webhook_meta_view
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | WebhookMetadata |
401 | Unauthorized | |
403 | Forbidden | |
500 | Internal server error | Error |
Get Event Profile Details
GET /webhooks/metadata/event-profiles/{profileName}
This API retrieves detailed information about a specific event profile including its channels and events.
Scope(Permission) required: internal_webhook_meta_view
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
profileName | path | string | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | EventProfile |
401 | Unauthorized | |
403 | Forbidden | |
404 | Profile not found | Error |
500 | Internal server error | Error |
Schemas
Event
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
eventName | string | ||
eventDescription | string | ||
eventUri | string |
Channel
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
description | string | ||
uri | string | ||
events | array of Event |
EventProfile
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
profile | string | ||
uri | string | ||
channels | array of Channel |
WebhookMetadata
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
profiles | array of EventProfileMetadata | ||
adapter | object | ||
adapter.name | string | ||
adapter.type | string |
EventProfileMetadata
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
uri | string | ||
self | string |
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | ||
message | string | ||
description | string | ||
traceId | string |
Was this page helpful?