Skip to main content
POST
/
login
Login by obtaining a new access token
curl --request POST \
  --url https://connect.withvayu.com/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "<string>"
}
'
{
  "accessToken": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://guide.withvayu.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
refreshToken
string
required

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

Response

RequestSuccess

accessToken
string
required

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