You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/connectors/connectors-native-webhook.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, azla
7
7
ms.topic: how-to
8
-
ms.date: 02/09/2024
8
+
ms.date: 05/07/2025
9
9
---
10
10
11
11
# Subscribe and wait for events to run workflows using HTTP webhooks in Azure Logic Apps
@@ -227,6 +227,39 @@ Here is more information about the outputs from an HTTP Webhook trigger or actio
227
227
| 404 | Not Found |
228
228
| 500 | Internal server error. Unknown error occurred. |
229
229
230
+
## Generate callback URL with secondary access key
231
+
232
+
A logic app workflow has two access keys: primary and secondary. By default, Azure Logic Apps uses the primary key to generate the callback URL for the HTTP webhook trigger.
233
+
234
+
To use the secondary key instead for callback URL generation, follow these steps:
235
+
236
+
1. From the workflow designer, switch to code view.
237
+
238
+
1. In the **`HttpWebhook`** trigger definition. find the **`accessKeyType`** parameter.
239
+
240
+
1. Specify the word **`Secondary`** as the parameter value.
241
+
242
+
1. Remember to save your changes.
243
+
244
+
The following example shows the webhook trigger definition with the **`accessKeyType`** parameter set to **`Secondary`**:
245
+
246
+
247
+
```json
248
+
{
249
+
"type": "HttpWebhook",
250
+
"inputs": {
251
+
"subscribe": {
252
+
"method": "POST",
253
+
"uri": "<subscription-URL>",
254
+
"body": "@listCallbackUrl()"
255
+
},
256
+
"accessKeyType": "Secondary"
257
+
},
258
+
"runAfter": {}
259
+
}
260
+
261
+
```
262
+
230
263
## Next steps
231
264
232
265
*[Secure access and data - Access for inbound calls to request-based triggers](../logic-apps/logic-apps-securing-a-logic-app.md#secure-inbound-requests)
0 commit comments