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.
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). |