POST
/
login
curl --request POST \
  --url https://connect.withvayu.com/login \
  --header 'Content-Type: application/json' \
  --data '{
  "refreshToken": "<string>"
}'
{
  "accessToken": "<string>"
}

Body

application/json
refreshToken
string
required

The refresh token issued for the authentication process. It is required to obtain a new access token.

Response

200
application/json
RequestSuccess
accessToken
string
required

The new access token to be used for subsequent API calls. It is set to expire every hour.