Create Mailbox

POST
https://reloop.sh/api/inbox/v1/mailboxes/create

Body Parameters

domainIdstringRequired

Associated verified Domain ID

emailstringRequired

Full email address for the mailbox

passwordstring

Mailbox password

quotastring

Storage quota, defaults to 5 GB

displayNamestring

Friendly name of the mailbox sender

const response = await fetch("https://reloop.sh/api/inbox/v1/mailboxes/create", {
  method: "POST",
  headers: {
    "Authorization": "Bearer re_123456789",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "domainId": "domainId_value",
  "email": "email_value",
  "password": "password_value",
  "quota": "quota_value",
  "displayName": "displayName_value"
})
});

const data = await response.json();
{
  "id": "con_123456789",
  "email": "john.doe@example.com",
  "status": "example_status"
}

Was this page helpful?

Edit this page