rotate_callback_secret
Rotate a sub-account's callback signing secret and return the new value once for storage. Existing queued deliveries keep their original secret; settings webhook URLs are switched to endpoints first.
Instructions
Rotate a sub-account's callback signing secret — the secret that signs every callback_url delivery of its verification requests — and return the new one. This is the only time it is returned, so store it now. Callback deliveries already queued keep the secret they were signed with. An account still delivering through its settings webhook URL is switched over to webhook endpoints first.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | Sub-account (profile) ID, 24 hex characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | No | Signs every `callback_url` delivery of this sub-account's verification requests (`X-Proof-Signature`). | |
| profile_id | No | The sub-account (`PublicProfile._id`) whose secret this is |