CLaim Mailbox
Used to claim rewards in the mailbox sent to the user
Claim Sys-Mail
POST /v1/sys-mailbox/claim HTTP/1.1
Host: mailbox-dev.api.mimiland.io
mm-client-id: mml
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 650ad419d995b4f348455ce2
Content-Type: application/json
Content-Length: 123
{
"id":"66f6281d5303bdc293983bc1",
"claimAll":true,
"uids":[""],
"clientId":"mml",
"version":2
} const myHeaders = new Headers();
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
myHeaders.append("mm-user-id", "650ad419d995b4f348455ce2");
myHeaders.append("Content-Type", "application/json");
const raw = JSON.stringify({
"id": "66f6281d5303bdc293983bc1",
"claimAll": true,
"uids": [
""
],
"clientId": "mml",
"version": 2
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://mailbox-dev.api.mimiland.io/v1/sys-mailbox/claim", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Key
Type
Description
Claim Mailbox
Last updated