Skip to main content

Get Authentication Token

Fetch the access token. The returned token is to be used for all the subsequent API Calls.

Endpoint#

URL: https://portal.bihelper.tech/api/authenticateMethod: POST

Headers#

KeyValueDescription
Content-Typeapplication/json
User-Agentcurl/7.68.0Set user agent header

Body#

{    "username": "BH Username",    "password": "BH Password"}

Curl Request#

curl --location --request POST 'https://portal.bihelper.tech/api/authenticate' \--header 'Content-Type: application/json' \--header 'User-Agent: curl/7.68.0' \--data-raw '{    "username": "BH Username",    "password": "BH Password"}'

Response#

id_token is the Auth Header

{"id_token":"eySeelrUqjMEsqA"}