Auth

Login to the dashboard API

post/api/v1/auth/login

Request body

usernamestring required
passwordstring required
codestring

TOTP code or recovery code when two-factor authentication is required.

trust_device_flagboolean

Response

Standard AstrBot success response

status'ok' required
messagestring
{"stackTrail":"components:schemas:SuccessEnvelope:properties:data","oasType":"schema","type":"unknown"}

Changes