btcintel

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
what it costs
1 request of the quota
tiers and keys
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

NameWhereTypeRequiredWhat it does
tokenbodystringrequiredThe token from the e-mail link (URL-safe base64).

The body is application/json.

schema TokenOnly
  • token string required — The token from the e-mail link (URL-safe base64).

What it answers

The account with its new address.

FieldTypeWhat it carries
accountobjectThe account, as it stands after the request.
schema AccountOnly
  • account AccountInfo required — The account, as it stands after the request.
    • id integer (int64) required — The account's id.
    • email string — The account's e-mail address, in lower case. Absent once the account is anonymised.
    • display_name string — The account's display name. Absent when it has none.
    • created_at string (date-time) required — When the account was created.

Errors

StatusCodeWhen
400invalid_inputinvalid_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.
404not_foundnot_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.
409conflictconflict: 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.
501not_configurednot_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.