Authentication
Register
POST https://nekoya.moe.team/api/register
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
password*
String
1 - 64 string characters
first_name*
String
First Name
last_name*
String
Last Name
{
"message": "Register Verification Sent ~"
}{
"message": "Bad Request"
}Login
Account without 2FA Enabled
POST https://nekoya.moe.team/api/login
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
password*
String
1 - 64 string characters
ua
String
User Agent
ip
String
IP Address
Account with 2FA Enabled
POST https://nekoya.moe.team/api/login
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
password*
String
1 - 64 string characters
ua
String
User Agent
ip
String
IP Address
OTP
Submit OTP
POST https://nekoya.moe.team/api/otp-submit
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
token*
String
Encrypted String
code*
OTP Code (6 digit)
Enable / Disable OTP
POST https://nekoya.moe.team/api/otp-toggle
Query Parameters
key*
String
Encrypted String
Headers
Content-Type*
String
application/x-www-form-urlencoded
Verify Account (Mail)
POST https://nekoya.moe.team/api/verify-mail
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
token*
String
Encrypted String
Reset Password
POST https://nekoya.moe.team/api/request-reset-password
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
POST https://nekoya.moe.team/api/reset-password
Query Parameters
token*
String
Encrypted String
Headers
Content-Type*
String
application/x-www-form-urlencoded
Request Body
password*
String
1 - 64 string characters
Active Sessions
Get All of Active Sessions
POST https://nekoya.moe.team/api/sessions
Query Parameters
key*
String
Encrypted String
Headers
Content-Type*
String
application/x-www-form-urlencoded
Last updated