offshoreproz_register_webhook
Register a webhook URL to receive real-time formation events (formation.created, formation.status_changed, formation.complete, etc.). Returns a signing secret (whsec_) — store it to verify incoming payloads. Use '' to receive all events.
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>",
"events": "<events>"
},
"name": "offshoreproz_register_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL that will receive POST requests for subscribed events. | |
| events | Yes | Event patterns to subscribe to. Use '*' for all events, 'formation.*' for all formation events, or specific types like 'formation.complete' or 'formation.status_changed'. | |
| description | No | Optional human-readable label for this webhook endpoint (e.g. 'Production webhook'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook endpoint ID (whep_*) | |
| url | Yes | ||
| note | No | ||
| events | Yes | ||
| created_at | No | ||
| signing_secret | Yes | HMAC signing secret (whsec_*). Store securely — shown only once. Use to verify X-OffshoreProz-Signature header. |