Recover Account Access
recoverRecover access when application or API tokens are lost. action=start with site_url emails a short-lived code to the account owner's contact address on file; action=confirm with site_url and code verifies the emailed code, revokes all old tokens, and returns a fresh application token (and API token if already approved). No authentication required; rate limited per IP and per site.
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": {
"action": "<action>",
"site_url": "<site_url>"
},
"name": "recover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | For action=confirm: the recovery code emailed to the account owner's contact address. | |
| action | Yes | One of: start (email a recovery code to the account owner) or confirm (submit the code and receive fresh tokens). | |
| site_url | Yes | The publisher site URL previously registered with apply (http or https). |