---
title: "Log Account Login"
method: POST
path: "/v0/enrichment/account/login"
tags: ["Enrichment"]
---

# Log Account Login

`POST /v0/enrichment/account/login`

## Request

- Base URL: `https://api.blockaid.io`
- URL: `https://api.blockaid.io/v0/enrichment/account/login`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-CLIENT-ID`
- TypeScript: <https://skmtc.dev/blockaid-official/apis/blockaid-api/docs/v0/enrichment/account/login/post.ts> (a function with typed inputs; its response is checked against the schema)

Logs an account login event.

## Request body

- LogAccountLoginRequest
  - `account` RoutersExchangeProtectionAccountModelsAccount, required
    - `account_id` string, required
    - `account_creation_timestamp` string, date-time
    - `user_age` integer
    - `user_country_code` string
  - `event_time` string, date-time, required
  - `connection` RoutersChainAgnosticModelsRequestConnection
    - `user_agent` string: User agent string from the client's browser or application.
    - `ip_address` string, ipvanyaddress, required: IP address of the customer making the request. Both IPv4 and IPv6 addresses are supported.
    - `origin` string, uri: The full URL of the website that the request was directed to.
    - `walletconnect_name` string: WalletConnect session name, when the request originates from a WalletConnect session.
    - `walletconnect_description` string: WalletConnect session description, when the request originates from a WalletConnect session.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

> 120 revisions in range; 1 not diffed.

- **2026-06-22** `631610b498db`: 3 info
  - added the new optional request property `connection/origin`
  - added the new optional request property `connection/walletconnect_description`
  - added the new optional request property `connection/walletconnect_name`

[Operation history](https://skmtc.dev/blockaid-official/apis/blockaid-api/changes/v0/enrichment/account/login/post.md)

---

[API](https://skmtc.dev/blockaid-official/apis/blockaid-api.md) - [All operations](https://skmtc.dev/blockaid-official/apis/blockaid-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockaid-official/apis/blockaid-api/revisions/104550c9d3f1?raw)
