Skip to content

Commit d306c8a

Browse files
authored
docs(executor): fix executor webhook url (#100)
1 parent c7ab897 commit d306c8a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/tutorials/setup-executor/incoming-webhook-trigger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Open the [Console](https://console.tailor.tech) and navigate to your workspace.
145145
The webhook URL format is:
146146

147147
```
148-
https://api.tailor.tech/v1/executor/workspaces/{WORKSPACE_ID}/executors/webhook-update-project/invokeIncomingWebhook/{WEBHOOK_SECRET}
148+
https://api.erp.dev/v1/executor/workspaces/{WORKSPACE_ID}/executors/webhook-update-project/invokeIncomingWebhook/{WEBHOOK_SECRET}
149149
```
150150

151151
Alternatively, use the Tailor CLI:
@@ -183,7 +183,7 @@ Note the project ID returned.
183183
Send a POST request to update the project status:
184184

185185
```bash
186-
curl -X POST "https://api.tailor.tech/v1/executor/workspaces/{WORKSPACE_ID}/executors/webhook-update-project/invokeIncomingWebhook/{WEBHOOK_SECRET}" \
186+
curl -X POST "https://api.erp.dev/v1/executor/workspaces/{WORKSPACE_ID}/executors/webhook-update-project/invokeIncomingWebhook/{WEBHOOK_SECRET}" \
187187
-H "Content-Type: application/json" \
188188
-d '{
189189
"projectId": "<your-project-id>",
@@ -197,7 +197,7 @@ The webhook responds with `204 No Content`. The executor operation runs asynchro
197197
You can also send form-urlencoded data:
198198

199199
```bash
200-
curl -X POST "https://api.tailor.tech/v1/executor/workspaces/{WORKSPACE_ID}/executors/webhook-update-project/invokeIncomingWebhook/{WEBHOOK_SECRET}" \
200+
curl -X POST "https://api.erp.dev/v1/executor/workspaces/{WORKSPACE_ID}/executors/webhook-update-project/invokeIncomingWebhook/{WEBHOOK_SECRET}" \
201201
-H "Content-Type: application/x-www-form-urlencoded" \
202202
-d "projectId=<your-project-id>&status=completed&description=Done"
203203
```

0 commit comments

Comments
 (0)