Validate HS Token
/NorenWClientAPI/ValidateHsTokenAuthorization token is required. Enter your access_token from GenAcsTok above.
"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.
jData fields
Values are sent as a JSON string in the jData form field.
Send sLoginId received from Initiator site
Key Obtained on login success.0
- Example:
2885 - Where to get it: SearchScrip reply, or the Token column of the symbol file.
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.
Request to be POSTed to url : /NorenWClientAPI/ValidateHsToken
(To be used only from server, Call this url from Browser / Client Side APKs)
Request Details
| Parameter Name | Possible value | Description |
|---|---|---|
| LoginId* | Send sLoginId received from Initiator site | |
| token* | Key Obtained on login success.0 | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
Response Details
Response data will be in plain text format:
- ✅ TRUE -> if Token is valid
- ❌ FALSE -> for invalid User Id or Token.
External Integration (Backoffice URL..etc) Flow:
- Trading site will call the third-party URL on user clicking the specified link (eg: Back Office login).
- Trading site will pass the User id, Token, and Client ID to the third-party url.
- Third-party application/web server will make a server call to our web server using the “Validate HS Token” Url.
- If trading site web server says ok then Third party application will provide access to the user/client.
curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/ValidateHsToken' \
--header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
--header 'Content-Type: text/plain' \
--data 'jData={"LoginId":"","token":"2885"}'