Skip to content

Commit 4b1fbf6

Browse files
authored
Update webhooks.md
1 parent 7bef7f6 commit 4b1fbf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/features/webhooks.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ curl -X POST "https://example.com/webhooks/start/order-workflow" \
150150
By default, webhooks are accessible under `/webhooks`. You can customize the route path in `config/workflows.php`:
151151

152152
```php
153-
'webhooks_route' => 'api/webhooks',
153+
'webhooks_route' => 'workflows',
154154
```
155155

156156
After this change, webhooks will be accessible under:
157157
```
158-
POST /api/webhooks/start/order-workflow
159-
POST /api/webhooks/signal/order-workflow/{workflowId}/mark-as-shipped
158+
POST /workflows/start/order-workflow
159+
POST /workflows/signal/order-workflow/{workflowId}/mark-as-shipped
160160
```

0 commit comments

Comments
 (0)