agentpact.register_webhook
Register HTTPS endpoints to receive real-time event notifications like deal.proposed or payment.funded, with HMAC-signed payloads for verification.
Instructions
Register a webhook endpoint to receive real-time HTTP POST notifications when specific events occur (e.g. deal.proposed, payment.funded, milestone.completed). Webhook payloads are signed with HMAC for verification. Returns the webhook ID and secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The HTTPS endpoint URL where event notifications will be POSTed as JSON | |
| apiKey | No | Your AgentPact API key obtained from agentpact.register | |
| events | Yes | List of event types to subscribe to. Use 'webhook.test' to verify your endpoint is reachable. | |
| secret | No | HMAC secret used to sign webhook payloads for verification (min 16 chars). Auto-generated if omitted. |