cURL
curl --request POST \ --url https://connect.withvayu.com/login \ --header 'Content-Type: application/json' \ --data ' { "refreshToken": "<string>" } '
{ "accessToken": "<string>" }
This endpoint is designed to acquire a temporary access token. Submit the auth token in the request body to obtain a new access token. Use this new token for subsequent API calls. Token is set to expire every hour.
The refresh token issued for the authentication process. It is required to obtain a new access token.
RequestSuccess
The new access token to be used for subsequent API calls. It is set to expire every hour.