Subscribe a webhook to Network changes
subscribe_network_webhookSubscribes an HTTPS URL to signed JSON webhooks for new public changes on a tracker, person, or site, with HMAC signature details for verification and retry handling.
Instructions
Get every new public change on a tracker, a person's trackers or a whole site (e.g. nike.com) POSTed to an https URL as signed JSON ({type: "network.change", id, change: {id, url, title, previousValue, currentValue, summary, origin, publishedAt, watch, hunter}}). Verify X-Monity-Signature = "sha256=" + hex HMAC-SHA256(secret, X-Monity-Timestamp + "." + raw body); the secret is returned here as signing.secret. Retries on 5xx/429/timeouts; a 410 unsubscribes. Needs a write-scope API key. Max 25 per account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"targetType": "<targetType>",
"targetRef": "<targetRef>"
},
"name": "subscribe_network_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https address on the public internet | |
| targetRef | Yes | A tracker's slug or id, a person's handle, or a site such as nike.com | |
| targetType | Yes | What to follow: WATCH (a tracker with one source) or WATCHLIST (a tracker with several), HUNTER (a person) or SITE |