Skip to main content
POST
/
auth
/
login
Login
curl --request POST \
  --url https://api.nova-cloud.ai/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "access_token": "<string>",
  "refresh_token": "<string>",
  "token_type": "bearer",
  "expires_in": 3600
}

Body

application/json
email
string<email>
required
password
string
required

Response

Login successful

access_token
string

JWT access token (expires in 1 hour)

refresh_token
string

Refresh token for obtaining new access tokens

token_type
string
Example:

"bearer"

expires_in
integer

Token lifetime in seconds

Example:

3600