Reference
Enter code / two-step password
Submit the login code or 2FA password the account owner gave you, or cancel the login. Never store or repeat these values.
View MarkdownThis page is generated from the source code on every release.
Submit the login code or 2FA password the account owner gave you, or cancel the login. Never store or repeat these values.
Overview
| Name | Value |
|---|---|
| Code | accounts.login_submit |
| Scope needed | accounts.manage |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Accounts → Login |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
attemptId |
uuid |
Yes | |
kind |
"code" | "password" | "cancel" |
Yes | |
value |
text |
No |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/accounts.login_submit \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"attemptId":"00000000-0000-0000-0000-000000000000","kind":"code"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
Example answer
{
"data": {
"ok": true
}
}Using it over MCP
Tool accounts_login_submit is listed on the profiles: Administration (admin). On other profiles, find it with tools_search and run it with tools_run.