Docs

Reference

account.login_needs_code — Login waiting for a code

The account's login is waiting for the confirmation code.

View MarkdownThis page is generated from the source code on every release.

The account's login is waiting for the confirmation code.

Since web 1.0.0, worker —.

Name Value
Code account.login_needs_code
Group Accounts
Status Subscribable
Scope needed to receive it accounts.manage
Tied to one account Yes
Only the connection that caused it receives it No
Filters that apply —
Fields dropped in thin content mode —
Fields written by outside people (untrusted) —

JSON Schema

https://tlg.builera.app/schemas/events/account.login_needs_code/2.json

Sample payload (exactly what webhooks.test sends)

{
  "specversion": "1.0",
  "id": "evt_01JDOCSSAMPLE",
  "source": "https://tlg.builera.app/ws/07c2e5e1-c42f-4212-851b-c55b6dd7989d",
  "type": "account.login_needs_code",
  "time": "2026-10-21T13:45:00.123Z",
  "datacontenttype": "application/json",
  "dataschema": "https://tlg.builera.app/schemas/events/account.login_needs_code/2.json",
  "platform": "telegram",
  "workspaceid": "07c2e5e1-c42f-4212-851b-c55b6dd7989d",
  "accountid": "1a7d2c40-5b1e-4e7a-9d3f-6c2b8e1f0a11",
  "seq": "000000000000000",
  "schemaversion": "2",
  "correlationid": null,
  "causationid": null,
  "test": true,
  "replay": false,
  "data": {
    "account": {
      "id": "1a7d2c40-5b1e-4e7a-9d3f-6c2b8e1f0a11",
      "label": "Sale 1",
      "username": "sale_demo_1",
      "tg_user_id": "100200300"
    },
    "attempt_id": "8b9c0d1e-2f3a-4b5c-8d6e-7f8a9b0c1d2e",
    "method": "phone",
    "code_type": "app"
  }
}
Was this page helpful?

Last checked: 10/24/2026 · build 2.0