Get business email discount

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Tells you whether business email is on sale right now, and by how much. Buy it with Get business email purchase link.

Sales depend on the country your request comes from, so the answer reflects where your code runs, not where the buyer is. A request whose country can't be determined gets discount: false, and so does one from a country the sale doesn't cover.

Only the workspace owner can call this endpoint. A read-only token is refused, and workspace API keys aren't accepted. Limited to 6 requests a minute per caller. Some workspaces have a different limit.

get/api/billing/business-email/discount

Request

  • Base URL
    https://app.base44.com
  • URL
    https://app.base44.com/api/billing/business-email/discount
  • Auth
    HTTP bearer

Response

Whether business email is on sale.

discountboolean required

true when business email is on sale for the country your request comes from.

ratenumber

Discount as a fraction of the price, such as 0.3 for 30% off. Present only when discount is true.

Example response

{
  "discount": true,
  "rate": 0.3
}

Changes