Sessions
GET https://yourwebsite.com/api/auth/sessions/<token>
{
"status": true
}{
"status": false,
"error": "SESSION_NOT_FOUND",
"message": "Session not found!"
}POST https://yourwebsite.com/api/auth/sessions
Request Body
Name
Type
Description
userID*
int
ip*
string
expires
string
Datetime (2025-01-20 15:30:20)
{
"status": true,
"token": "202cb962ac59075b964b07152d234b70"
}{
"status": false,
"error": "USER_NOT_FOUND",
"message": "User not found!"
}Last updated