Confirm a new e-mail address with the link's token
POST /v1/auth/email/verify- who may call it
- Anyone
- no key and no session
- how fresh
- Never cached
- every answer carries the index's height and the node's
- MCP tool
- None
On this page
Single use; replaces the address and tells the old one. 409 when another account took the address meanwhile.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
token | body | string | required | The token from the e-mail link (URL-safe base64). |
The body is application/json.
schema TokenOnly
tokenstring required — The token from the e-mail link (URL-safe base64).
What it answers
The account with its new address.
| Field | Type | What it carries |
|---|---|---|
account | object | The account, as it stands after the request. |
schema AccountOnly
accountAccountInfo required — The account, as it stands after the request.idinteger (int64) required — The account's id.emailstring — The account's e-mail address, in lower case. Absent once the account is anonymised.display_namestring — The account's display name. Absent when it has none.created_atstring (date-time) required — When the account was created.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | invalid_input: the request is malformed: bad hex, an address of another network, a bad vout, or a value out of its range. The message says which. |
| 404 | not_found | not_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which. |
| 409 | conflict | conflict: the state refuses the change, for example a dispute of this caller's already open, a dispute or a claim no longer open, an address that belongs to another account, or a thing done already. The message says which. |
| 501 | not_configured | not_configured: this deployment does not run what the route needs, for example the mempool engine, accounts, the intel store or watchlists. The message names it. |
Each comes in the one error envelope, and none is cached: an error carries Cache-Control: no-store.
Example
No snippet. This route is a step of signing in, which runs in your browser on btcintel.io, so no snippet can run it from a shell. See Identity.