Authentication
Register
POST
https://nekoya.moe.team/api/register
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
email* | String | xxx@example.com |
password* | String | 1 - 64 string characters |
first_name* | String | First Name |
last_name* | String | Last Name |
Login
Account without 2FA Enabled
POST
https://nekoya.moe.team/api/login
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
email* | String | xxx@example.com |
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
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
email* | String | xxx@example.com |
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
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
token* | String | Encrypted String |
code* | OTP Code (6 digit) |
Enable / Disable OTP
POST
https://nekoya.moe.team/api/otp-toggle
Query Parameters
Name | Type | Description |
---|---|---|
key* | String | Encrypted String |
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Verify Account (Mail)
POST
https://nekoya.moe.team/api/verify-mail
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
token* | String | Encrypted String |
Reset Password
POST
https://nekoya.moe.team/api/request-reset-password
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
email* | String | xxx@example.com |
POST
https://nekoya.moe.team/api/reset-password
Query Parameters
Name | Type | Description |
---|---|---|
token* | String | Encrypted String |
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
password* | String | 1 - 64 string characters |
Active Sessions
Get All of Active Sessions
POST
https://nekoya.moe.team/api/sessions
Query Parameters
Name | Type | Description |
---|---|---|
key* | String | Encrypted String |
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/x-www-form-urlencoded |
Last updated