Jump to content
  • 0

Minehut API Login


RealNewton

Question

2 answers to this question

Recommended Posts

  • 2

The API doesn't support anything that requires authorization but it is still possible.
You just have to pass two headers: x-session-id and your authorization key. These are temporary and do change every once in a while. If you are wondering how to get these, just go into your console, open developer tools which is found when you click the three dots at the top right screen of the browser, click on "More Tools" and click developer tools. This is also the same thing as inspect. Then go to network and wait for a request called "all_data" shows up. You should be able to click this and scroll down to find them. 

You can also find this tutorial at https://github.com/TeamMH/minehutxyz/blob/apidocs/api/auth.md

Link to comment
Share on other sites

  • 0
5 hours ago, RealNewton said:

Hi, Iam trying to do a discord bot with minehut API to start a server, but when i do post request with my password and email, it says {"error":"No longer supported."} . Is there any way to start the server through API?

No. API starts are no longer supported, as the message states.

Sorry for the troubles. 😄

 - Discord: Brim#0768

 

image.png.f1adf348277e390065b8e913c0f185d4.png

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...