Skip to main content
POST
/
v1
/
auth
/
login
Login
curl --request POST \
  --url https://api.example.com/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": ""
}
'
{
  "access_token": "<string>",
  "refresh_token": "<string>",
  "user": {},
  "workspace": {},
  "token_type": "Bearer",
  "expires_in": 3600,
  "session_id": "",
  "organization": {}
}

Body

application/json
email
string
required
password
string
default:""

Response

Successful Response

access_token
string
required
refresh_token
string
required
user
User · object
required
workspace
Workspace · object
required
token_type
string
default:Bearer
expires_in
integer
default:3600
session_id
string
default:""
organization
Organization · object