Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"token": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"tfaRequired": true,
"user": {
"id": 123,
"username": "<string>",
"displayName": "<string>",
"email": "<string>",
"credits": 123,
"avatar": "<string>",
"isEmailVerified": true,
"isStaff": true,
"isTfaRequired": true,
"discordUserID": "<string>",
"roles": [
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"usernameCSS": "<string>",
"badgeCSS": "<string>"
}
],
"permissions": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"creditsFormatted": "<string>"
}
},
"message": "<string>"
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "CONFLICT",
"message": "..."
}
}{
"success": false,
"error": {
"code": "MAINTENANCE",
"message": "..."
}
}Auth
Complete browser login
Exchanges the one-time exchange code from the frontend loginCallback route (after account-linking / legacy Discord login) for a session. Same checks as a password login (ban, maintenance, TFA).
POST
/
auth
/
providers
/
exchange
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"token": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"tfaRequired": true,
"user": {
"id": 123,
"username": "<string>",
"displayName": "<string>",
"email": "<string>",
"credits": 123,
"avatar": "<string>",
"isEmailVerified": true,
"isStaff": true,
"isTfaRequired": true,
"discordUserID": "<string>",
"roles": [
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"usernameCSS": "<string>",
"badgeCSS": "<string>"
}
],
"permissions": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"creditsFormatted": "<string>"
}
},
"message": "<string>"
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "CONFLICT",
"message": "..."
}
}{
"success": false,
"error": {
"code": "MAINTENANCE",
"message": "..."
}
}