Hub APIhub-api reference
Login with email and password
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/login" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "stringst" }'{
"accessToken": "string",
"expiresAt": 0,
"user": {
"id": "string",
"email": "string",
"name": "string",
"language": "string"
},
"org": {
"id": "string",
"name": "string",
"role": "string"
}
}{
"error": "string",
"details": null
}