Get signed webhooks for a formation order
formation.webhookRegisters an https endpoint on one LLC or nonprofit formation order, from its orderId and trackingToken, so Corpus POSTs each lifecycle step instead of the agent polling formation.status: paid, founder confirmed, in review, review approved, submitted to the state, accepted, certificate available, completed, failed or cancelled. Each step is sent at most once per endpoint, signed per the Standard Webhooks spec (webhook-id, webhook-timestamp, webhook-signature), with the formation.status projection as data and nothing more. Returns a subscriptionId and a whsec_ secret that is shown ONCE, then sends a formation.webhook.test delivery. At most 3 active endpoints per order. Pass { orderId, trackingToken, subscriptionId, remove: true } to remove one. Failed deliveries retry for about 45 hours; 410 Gone or three abandoned deliveries in a row disable the endpoint. No API key; free, does not consume credits.
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": {
"orderId": "<orderId>",
"trackingToken": "<trackingToken>"
},
"name": "formation.webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Registering: the https endpoint (port 443, a public hostname, no IP address) Corpus will POST to. | |
| remove | No | true to remove the endpoint named by subscriptionId. | |
| orderId | Yes | The order's id. | |
| trackingToken | Yes | The order's tracking token, returned with the orderId. | |
| subscriptionId | No | Removing: the subscriptionId registration returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Human-readable tool result (also mirrored in content[].text). | |
| isError | No | True when the tool could not complete successfully. |