Confirm a new e-mail address with the link's token
POST /v1/auth/email/verify- quién puede llamarla
- Cualquiera
- sin clave y sin sesión
- cuán reciente
- Nunca en caché
- cada respuesta lleva la altura del índice y la del nodo
- Herramienta MCP
- Ninguna
En esta página
Single use; replaces the address and tells the old one. 409 when another account took the address meanwhile.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
token | cuerpo | string | obligatorio | The token from the e-mail link (URL-safe base64). |
El cuerpo es application/json.
esquema TokenOnly
tokenstring obligatorio — The token from the e-mail link (URL-safe base64).
Qué responde
The account with its new address.
| Campo | Tipo | Qué lleva |
|---|---|---|
account | object | The account, as it stands after the request. |
esquema AccountOnly
accountAccountInfo obligatorio — The account, as it stands after the request.idinteger (int64) obligatorio — 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) obligatorio — When the account was created.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 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. |
Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.
Ejemplo
Sin fragmento. Esta ruta es un paso del inicio de sesión, que ocurre en tu navegador en btcintel.io, así que ningún fragmento puede ejecutarla desde una shell. Ver Identidad.