Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Login issue my MPIN

    Java SDK
    2
    2
    11
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smahanty last edited by

      I was trying to connect below API
      https://apiconnect.angelone.in/rest/auth/angelbroking/user/v1/loginByMPIN";

      This is my header
      sample request body:

      {"clientcode":"S51733426","mpin":"****"}

      Request request = new Request.Builder()
      .url(LOGIN_URL)
      .post(requestBody)
      .addHeader("Content-Type", "application/json")
      .addHeader("Accept", "application/json")
      .addHeader("X-UserType", "USER")
      .addHeader("X-SourceID", "MOBILE")
      .addHeader("X-ClientLocalIP", "127.0.0.1")
      .addHeader("X-ClientPublicIP", "127.0.0.1")
      .addHeader("X-MACAddress", "00:00:00:00:00:00")
      .addHeader("X-PrivateKey", apiKey)
      .build();

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @smahanty last edited by

        Hi @smahanty

        Use below Login API for authentication.

        https://smartapi.angelbroking.com/docs/User#Authenticate

        1 Reply Last reply Reply Quote 0
        • First post
          Last post