webhookEnable
Re-enables a webhook channel that was disabled after repeated failed deliveries.
Cost: Free. Signed by the box's agent over method
POST, path/agent/v1/<address lowercased>/webhook/<id>/enableand no body (the hash of no bytes). Or send anARCGATE-KEYof the account the box is linked to, with no signature. Another account's key, or any key for a box that is not linked, does not apply to the box: the call is checked as if no key were sent, so it needs the signature. A key nobody holds is a 401key_invalid. The key keeps working after the account has lapsed (its grace has ended).Inputs:
addressandid(path). No body.Returns: the
idandenabled: true. The failure count is cleared. The url answers its ownership challenge again, then the messages queued while the channel was disabled are delivered in order. Enabling a channel that is enabled changes nothing.Errors:
404
webhook_not_found: the box has no webhook channel with that id.
Next:
webhookList: check that it is verified and delivering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webhook channel's id: 22 base64url characters, as the create or the list returned it. | |
| address | Yes | The box's address: the agent's own address (an EOA or an EIP-7702 account), any letter case. The box is keyed by it, and a signed request must be signed by it. | |
| agentSignature | No | The agent's EIP-712 signature over this request, as the AGENT-SIGNATURE, AGENT-NONCE and AGENT-EXPIRY headers carry it over HTTP. Sign the typed data `AgentRequest` with fields `address` (the box), `method`, `path`, `bodyHash`, `nonce` and `expiry`, under the domain {name: "arcgate", version: "1"} with no chainId (a wallet that can only sign with one, such as Circle's, may add the chainId of the chain this deployment serves, 5042 on Arc mainnet, and no other). The `path` is the request path with every parameter filled in and the address lowercased. The `bodyHash` is the keccak256 of the canonical JSON of the body you send (sorted keys, no whitespace), or of no bytes when there is none. Omitting it is a 401 signature_required unless an ARCGATE-KEY of the account the box is linked to is sent (over MCP, on the connection), and it is never a charge: the call is free. |