Skip to content

Commit ecdd943

Browse files
docs(webhooks): sweep dead event-type strings from CLI examples
Aligns examples with the post-dogpile event-type taxonomy (only alerts.{opportunity,contract,entity,grant,forecast}.match emit now). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 224878e commit ecdd943

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/WEBHOOKS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Sign a payload locally with the same scheme Tango uses, then either print the si
181181
**Without `--to`** — just print the headers + body a real Tango delivery would have:
182182

183183
```bash
184-
tango webhooks simulate --secret dev_secret --event-type entities.updated
184+
tango webhooks simulate --secret dev_secret --event-type alerts.entity.match
185185
```
186186

187187
Output includes `delivered: false`, the headers (`Content-Type`, `X-Tango-Signature`), and the JSON payload.
@@ -191,7 +191,7 @@ Output includes `delivered: false`, the headers (`Content-Type`, `X-Tango-Signat
191191
```bash
192192
tango webhooks simulate \
193193
--secret dev_secret \
194-
--event-type entities.updated \
194+
--event-type alerts.entity.match \
195195
--to http://127.0.0.1:8011/tango/webhooks
196196
```
197197

@@ -221,7 +221,7 @@ Output is JSON: `success`, `status_code` (the HTTP code Tango got from your endp
221221
Print the canonical sample payload for one event type, or the full mapping if `--event-type` is omitted. Wraps `GET /api/webhooks/endpoints/sample-payload/`. Read-only.
222222

223223
```bash
224-
tango webhooks fetch-sample --event-type entities.updated
224+
tango webhooks fetch-sample --event-type alerts.entity.match
225225
tango webhooks fetch-sample # all event types
226226
```
227227

0 commit comments

Comments
 (0)