Create an account with an e-mail address and a password
POST /v1/auth/signup- 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
Answers 202 whether or not the address has an account: a new address receives a verification link that creates the account (POST /v1/auth/verify), an existing one a sign-in link instead. The password has 12 to 128 characters and no composition rules; one found in a known breach is refused with the reason (a k-anonymity range query, five hex characters of its SHA-1). A body carrying a private key (nsec1) is refused like any other. 501 while ACCOUNTS_ENABLED is off.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
email | cuerpo | string | obligatorio | Normalised to lower case; plus-addresses are kept. |
password | cuerpo | string | obligatorio | The password. At sign-up it has 12 to 128 characters and appears in no known data breach; at sign-in it is the account's. |
El cuerpo es application/json.
esquema EmailPassword
emailstring obligatorio — Normalised to lower case; plus-addresses are kept.passwordstring obligatorio — The password. At sign-up it has 12 to 128 characters and appears in no known data breach; at sign-in it is the account's. · al menos 1 caracteres · como mucho 128 caracteres
Qué responde
202 · application/json
Accepted; the answer does not say whether the address had an account.
| Campo | Tipo | Qué lleva |
|---|---|---|
accepted | boolean | Always true: the request is taken, whatever the address. |
next | string | What to do now, in one sentence. |
esquema Accepted
acceptedboolean obligatorio — Always true: the request is taken, whatever the address.nextstring — What to do now, in one sentence.
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. |
| 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.