Skip to Content

The AccountSendUsageCreates type of the TypeScript SDK, part of AccountSendUsage.

type AccountSendUsageCreates = {
  addresses: number | null
  addressesPerDay: number | null
  domains: number | null
  domainsPerDay: number | null
  mailboxes: number
  perDay: number | null
}

Fields

FieldTypeDescription
addressesnumber | nullAddresses (routes) created in the rolling 24-hour window, one per new address (a re-create of the same address does not count again); 0 while addressesPerDay is null, since nothing is counted while that limit is off; null = the count could not be read right now (the rest of the answer is unaffected; read again)
addressesPerDaynumber | nullMaximum addresses allowed to be created per day (null = unenforced: the account's number is 0, or MAX_ADDRESS_CREATES_PER_DAY is blank, which switches the limit off)
domainsnumber | nullDomain onboardings counted in the rolling 24-hour window: one per new domain name POSTed, counted before the ownership check, so an onboarding that fails verification counts and a re-POST of the same name does not; 0 while domainsPerDay is null, since nothing is counted while that limit is off; null = the count could not be read right now (the rest of the answer is unaffected; read again)
domainsPerDaynumber | nullMaximum domains allowed to be onboarded per day (null = unenforced: the account's number is 0, or MAX_DOMAIN_CREATES_PER_DAY is blank, which switches the limit off)
mailboxesnumberMailboxes created in the rolling 24-hour window
perDaynumber | nullMaximum mailboxes allowed to be created per day (null = unenforced)

Used in

AccountSendUsage.

On this page