Login
Following registration, users must log in using the same method as their initial sign-up, providing the returned token to gain access to Mimi.
Login with Google
GET /v1/oauth/status?LocalToken=v4.local.9r7*****cdkd6yGJ&AuthenType=5 HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: mmlconst myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("shard", "1");
const requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow"
};
fetch("https://dev.api.mimiland.io/v1/oauth/status?LocalToken=v4.local.9r7j******kd6yGJ&AuthenType=5", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Key
Type
Description
Login With Email
POST /v1/auth/token HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: xapp
shard: 1
Content-Length: 137
{
"Code":"229811",
"UserID": "64daee9b5125b0c32fb01fa5",
"Email":"[email protected]",
"AuthenType":1,
"IsRotateToken": true
}const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "xapp");
myHeaders.append("shard", "1");
const raw = JSON.stringify({
"Code": "229811",
"UserID": "64daee9b5125b0c32fb01fa5",
"Email": "[email protected]",
"AuthenType": 1,
"IsRotateToken": true
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://dev.api.mimiland.io/v1/auth/token", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Key
Type
Description
Login With Apple ID
Login As Guest
Last updated