Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"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>"
},
"customFields": [
{
"name": "<string>",
"value": "<string>"
}
],
"tfaStatus": true,
"leaderboards": [
{
"name": "<string>",
"slug": "<string>"
}
],
"leaderboard": {
"name": "<string>",
"slug": "<string>",
"usernameColumn": "<string>",
"titles": [
"<string>"
],
"columns": [
"<string>"
],
"limit": 123,
"userData": {}
},
"tickets": [
{
"id": 123,
"title": "<string>",
"category": "<string>",
"status": "open",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"creditLogs": [
{
"id": 123,
"type": "added",
"direction": "in",
"amount": 123,
"amountFormatted": "<string>",
"amountMoney": "<string>",
"otherAccount": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"orders": [
{
"id": 123,
"type": 123,
"amount": 123,
"amountFormatted": "<string>",
"status": "success",
"createdAt": "2023-11-07T05:31:56Z"
}
]
},
"message": "<string>",
"meta": {
"seo": {
"page": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>"
}
}
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}Account
Profile dashboard
Current user plus the last 5 tickets, credit logs and orders (each only when its module is active). leaderboard=<slug> adds the user’s row of that leaderboard.
GET
/
account
/
profile
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"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>"
},
"customFields": [
{
"name": "<string>",
"value": "<string>"
}
],
"tfaStatus": true,
"leaderboards": [
{
"name": "<string>",
"slug": "<string>"
}
],
"leaderboard": {
"name": "<string>",
"slug": "<string>",
"usernameColumn": "<string>",
"titles": [
"<string>"
],
"columns": [
"<string>"
],
"limit": 123,
"userData": {}
},
"tickets": [
{
"id": 123,
"title": "<string>",
"category": "<string>",
"status": "open",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"creditLogs": [
{
"id": 123,
"type": "added",
"direction": "in",
"amount": 123,
"amountFormatted": "<string>",
"amountMoney": "<string>",
"otherAccount": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"orders": [
{
"id": 123,
"type": 123,
"amount": 123,
"amountFormatted": "<string>",
"status": "success",
"createdAt": "2023-11-07T05:31:56Z"
}
]
},
"message": "<string>",
"meta": {
"seo": {
"page": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>"
}
}
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}