admin

Renders the quota-threshold outreach for one identity **as it would go out right now**, and sends nothing.

This exists so the copy can be read before a customer reads it. It builds the same payload the webhook carries from the same live counters, renders the same email body the mailer would send, and writes nothing at all: no claim row, no mail, no webhook, no Slack post. Run it twice and the answer is identical.

get/admin/identities/{email}/quota-outreach

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/admin/identities/{email}/quota-outreach
  • Auth: HTTP bearer

Path parameters

emailstring required

Identity email (case-insensitive)

Response

The payload and rendered copy; nothing is sent

already_firedinteger[] required

Thresholds already fired for this identity this period, ascending. Anything listed here will NOT fire again.

emailstring required

Canonical (lowercased) identity email.

email_bodystring required

Plain-text email body, as it would be sent.

email_subjectstring required

Subject line the email would carry.

identity_idstring required

The identity the quota belongs to.

periodstring required

Billing month the preview is for, YYYY-MM.

rendered_thresholdinteger required

The threshold the rendered copy below is for.

slack_messagestring required

The operator Slack line. Its "email sent / webhook sent" tail reads not sent here because this preview sends nothing.

threshold_nowinteger nullable

The highest threshold this identity has crossed right now, or null when it is below 50%. The preview renders at this threshold when there is one, and at 50 otherwise, so copy can be reviewed for an identity that has not crossed anything yet.

Changes

No recorded changes to this operation across all 1 revision of this API.