SmartAPI not working


  • Dear SmartAPI team,

    I'm attempting to login using your official endpoint:
    https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword

    Here is my payload:

    {
    "clientcode": "SOBU1031",
    "password": "",
    "totp": "
    "
    }

    And headers are
    Content-Type: application/json
    Accept: application/json
    X-UserType: USER
    X-ClientLocalIP: 127.0.0.1
    X-ClientPublicIP: 127.0.0.1
    X-MACAddress: 00:00:00:00:00:00
    X-Privatekey: lTtx80zl

    However, I consistently receive:

    HTTP/1.1 400 Bad Request
    Content-Length: 0

    Even TOTP has been verified from the Authenticator App.

    Please confirm if the endpoint is stable or if there's any recent change to the login process.

    Regards,
    Mayank