Link Account
With the ability to link their guest accounts to third-party services, players can easily recover their game progress in case they lose access to their device or want to switch to a new one.
Last updated
With the ability to link their guest accounts to third-party services, players can easily recover their game progress in case they lose access to their device or want to switch to a new one.
Last updated
POST /v1/auth/link HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: mml
Authorization: bearer v4.public.eyJhZCI****IKPYVA4
mm-user-id: 653263627f60e4b804d97d04
Content-Length: 19
{
"AuthenType":5
}
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Authorization", "bearer v4.public.eyJhZCI****IKPYVA4");
myHeaders.append("mm-user-id", "653263627f60e4b804d97d04");
const raw = JSON.stringify({
"AuthenType": 5
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://dev.api.mimiland.io/v1/auth/link", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Request
POST /v1/auth/link HTTP/1.1
Host: dev.api.mimiland.io
Authorization: bearer v4.public.eyJhZCI6ZmFsc****YVA4
Content-Type: application/json
mm-client-id: mml
mm-user-id: 653263627f60e4b804d97d04
Content-Length: 76
{
"AuthenType":1,
"Value":"olapnalap@outlook.com",
"ByPassCode":true
}
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Authorization", "bearer v4.public.eyJh*****IKPYVA4");
myHeaders.append("mm-user-id", "653263627f60e4b804d97d04");
const raw = JSON.stringify({
"AuthenType": 5
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://dev.api.mimiland.io/v1/auth/link", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Request
POST /v1/auth/link HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: mml
shard: 1
mm-user-id: 653263627f60e4b804d97d04
Authorization: bearer v4.public.eyJhZC*****KPYVA4
Content-Length: 19
{
"AuthenType":8
}
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("shard", "1");
myHeaders.append("mm-user-id", "653263627f60e4b804d97d04");
myHeaders.append("Authorization", "bearer v4.public.e*****7koaJTiIKPYVA4");
const raw = JSON.stringify({
"AuthenType": 8
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://dev.api.mimiland.io/v1/auth/link", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Request
POST /v1/auth/link HTTP/1.1
Host: dev.api.mimiland.io
mm-client-id: mml
shard: 1
Content-Type: text/plain
Content-Length: 349
{
"AuthenType":10,
"TeleToken":"user=%7B%22id%22%3A5758588394%2C%22first_name%22%3A%22p%C3%B4ng%22%2C%22last_name%22%3A%22%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&chat_instance=-3851790695197029664&chat_type=sender&auth_date=1723602843&hash=19b98ffe47de8a62bc9efe08d786f90da98131c919fe7199372eeb1799ec308d"
}
const myHeaders = new Headers();
myHeaders.append("mm-client-id", "mml");
myHeaders.append("shard", "1");
myHeaders.append("Content-Type", "text/plain");
const raw = "{\r\n \"AuthenType\":10,\r\n \"TeleToken\":\"user=%7B%22id%22%3A5758588394%2C%22first_name%22%3A%22p%C3%B4ng%22%2C%22last_name%22%3A%22%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&chat_instance=-3851790695197029664&chat_type=sender&auth_date=1723602843&hash=19b98ffe47de8a62bc9efe08d786f90da98131c919fe7199372eeb1799ec308d\"\r\n} ";
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://dev.api.mimiland.io/v1/auth/link", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));