GET
/{orgId}/{itemId}/webhookConnectionsGets all webhook connections from Workflow Manager.
The following information is returned with each webhook connection object:
- connectionId: The webhook connection ID.
- connectionName: The webhook connection name.
- enabled: If
true, Workflow Manager will process incoming webhooks. Iffalse, Workflow Manager will not process incoming webhooks. - itemId: The service item ID for the webhook.
- username: The username of the user designated to perform the actions triggered by a webhook, if one is designated.
- fallbackUsername: The username of the alternate user designated to perform the actions triggered by a webhook, if one is designated.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | The list of webhook connection information objects | inline |
| 400 | Bad Request | error | WorkflowExceptionDTO |
Response details
Status Code 200
GetWebhookConnectionsResponse
| Name | Type | Required | Description |
|---|---|---|---|
webhook | [WebhookConnectionInfo] |
Examples
Request
# You can also use wget
curl -X GET '/{orgId}/{itemId}/webhookConnections' \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"webhookConnections": [
{
"connectionId": "string",
"connectionName": "string",
"enabled": true,
"itemId": "string",
"username": "string",
"fallbackUsername": "string"
}
]
}