factreason_subscribe_spec_changes
Create a persistent specification watch for a service. Receive notifications via polling or signed webhook callbacks when specifications change.
Instructions
Create a persistent specification watch for one service; a Bearer API key is required and each key may hold up to 50 watches. Without webhookUrl, read future events from the polling endpoint; with a public HTTP(S) URL, FactReason sends signed POST callbacks after later spec changes. Duplicate or unsafe webhook registrations are rejected. This does not ingest a specification immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookUrl | No | Optional public HTTP(S) URL for signed change callbacks; omit to poll | |
| serviceName | Yes | Service name to watch, e.g. "Stripe" or "SendGrid" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| watch | No | ||
| success | No |