Admin Endpoint

post
Nuke App Chat

https://fusionapi.dev/app/:appid/admin
This endpoint will allow you to clear app chats.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
action
required
string
nuke-app-chat
Response
200: OK
{
"error": false,
"message": "Chat nuked successfully."
}

post
Get Keys

https://fusionapi.dev/app/:appid/admin
Gets the keys you have made and returns them in json.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
action
required
string
get-keys
Response
200: OK
{
"W72GUBYASYZDAUNQIVNXMDDOIU5K2BUR": [
50,
"2022/08/20 07:22"
],
"SMVAAGBU4RNS7JVM6TRBL6ONVUAIVFO4": [
50,
"2022/08/20 07:25"
],
"3A5PPQNGHRKW756VQEPZ5TE3TTIYR7ZF": [
50,
"2022/08/20 07:25"
],
"AFPGO645FLWXUCLX5UJDLGSLASZD4Y5V": [
50,
"2022/08/20 07:27"
],
"ZYR5KVB7DTACUUIM6ZTJBEE4E5X5KCLI": [
50,
"2022/08/20 07:27"
]
}

post
Add Reseller

https://fusionapi.dev/app/:appid/admin
Adds a reseller to your app.
Request
Response
Request
Path Parameters
email
required
string
Resellers email.
secret
required
string
App secret on fusion.
action
required
string
add-reseller
Response
200: OK
{
"error": false,
"message": "Reseller added to application."
}

post
Delete Reseller

https://fusionapi.dev/app/:appid/admin
Deletes reseller from your app.
Request
Response
Request
Path Parameters
email
required
string
Resellers email.
secret
required
string
App secret on fusion.
action
required
string
del-reseller
Response
200: OK
{
"error": false,
"message": "Reseller deleted from application."
}

post
Update User Level

https://fusionapi.dev/app/:appid/admin
Updates user level.
Request
Response
Request
Path Parameters
action
required
string
update-user-level
secret
required
string
App secret on fusion.
level
required
string
New user level.
uid
required
string
User ID.
Response
200: OK
{
"error": false,
"message": "Level Updated."
}

post
Delete User Variable

https://fusionapi.dev/app/:appid/admin
Deletes user variable.
Request
Response
Request
Path Parameters
action
required
string
del-user-var
secret
required
string
App secret on fusion.
key
required
string
Variable name.
uid
required
string
User ID.
Response
200: OK
{
"error": false,
"message": "User var deleted."
}

post
Reset App Secret & Public Key

https://fusionapi.dev/app/:appid/admin
Resets secret keys on app config page.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
action
required
string
reset-tokens
Response
200: OK
{
"error": false,
"message": "Tokens reset."
}

post
Set App Variable

https://fusionapi.dev/app/:appid/admin
Sets app variable on your apps config page.
Request
Response
Request
Path Parameters
action
required
string
set-app-var
secret
required
string
App secret on fusion.
value
required
string
New var value.
key
required
string
Variable name.
Response
200: OK
{
"error": false,
"message": "Application variable set."
}

post
Delete App Variable

https://fusionapi.dev/app/:appid/admin
Deletes app var on your config page.
Request
Response
Request
Path Parameters
key
required
string
Variable name.
secret
required
string
App secret on fusion.
action
required
string
del-app-var
Response
200: OK
{
"error": false,
"message": "Variable deleted."
}

post
Delete Key

https://fusionapi.dev/app/:appid/admin
Deletes a registration key from your app.
Request
Response
Request
Path Parameters
token
required
string
Key you want deleted.
secret
required
string
App secret on fusion.
action
required
string
delete-token
Response
200: OK
{
"error": false,
"message": "Key deleted."
}

post
Change Username

https://fusionapi.dev/app/:appid/admin
Changes a users name on your app.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
username
required
string
New username.
uid
required
string
User ID.
action
required
string
change-username
Response
200: OK
{
"error": false,
"message": "Username changed."
}

post
Generate Keys

https://fusionapi.dev/app/:appid/admin
Make keys for your users to use when creating an account.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
expire
required
string
Expire date.
level
required
string
Key level.
amount
required
string
Amount to generate.
prefix
required
string
Text before the key.
action
required
string
generate-tokens
Response
200: OK
{
"error": false,
"message": "Tokens were generated!",
"tokens": [
"FUSION-D2FQQCIENJBK24L7V33BXRY6K73MXZ44",
"FUSION-BSZYC5TJJQM6I6ARVJVDQZ2JJSZLRZFA",
"FUSION-YUATWEZR5EAU7H7NP5H6RYISJ6HNVBOP",
"FUSION-JDMYP7COZXQGOFBGZWOC36XEBN6AREBB",
"FUSION-NO3RSIVJRG3XA7KDAGTJTIWIAI76TY3P"
]
}

post
Ban User

https://fusionapi.dev/app/:appid/admin
Bans user from your app.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
reason
required
string
Reason they are banned.
uid
required
string
User ID.
action
required
string
ban-user
Response
200: OK
{
"error": false,
"message": "User banned."
}

post
Unban User

https://fusionapi.dev/app/:appid/admin
Unbans a user from your app.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
uid
required
string
User ID.
action
required
string
unban-user
Response
200: OK
{
"error": false,
"message": "User unbanned."
}

post
UserID to Username

https://fusionapi.dev/app/:appid/admin
Get a username from a user id.
Request
Response
Request
Path Parameters
uid
required
string
User ID.
secret
required
string
App secret on fusion.
action
required
string
uid-to-username
Response
200: OK
{
"error": false,
"message": "Username fetched successfully.",
"username": "Peep"
}

post
Username to UserID

https://fusionapi.dev/app/:appid/admin
Get a user ID from a username.
Request
Response
Request
Path Parameters
username
required
string
Username.
action
required
string
username-to-uid
Response
200: OK
{
"UID": "69420",
"error": false,
"message": "UID fetched successfully."
}

post
Extend User

https://fusionapi.dev/app/:appid/admin
Extend user by days.
Request
Response
Request
Path Parameters
secret
required
string
App secret on fusion.
days
required
string
Days to extend user.
uid
required
string
User ID.
action
required
string
extend-user
Response
200: OK
{
"error": false,
"message": "User has been extended."
}