Developers

Everything you need to build on Mask.ID.

One signed attestation, a handful of copy-paste bots and plugins, and an open Nostr schema. Pick a path, ship in an afternoon.

Quick start

Send them to consent. Verify the signature. Done.

Your request names the packs. The member approves. You receive a payload signed with the platform’s Ed25519 key, on your webhook or by redirect with nothing hosted.

  1. Build the requestName your user, a fresh nonce, your webhook and the packs you need.
  2. Send the member to consentThey see exactly what you asked for and approve with their own key.
  3. Verify the signatureCheck the attestation against Mask.ID’s published Ed25519 key before trusting a single field.
  4. Store the subject_idIt is stable per member on your site: ban it, not the account, and the ban holds.
request · what your site sendsverify procedure
{
  "v": 1,
  "rp_user_id": "u_8347",
  "nonce": "d41d8cd98f00b204e9800998",
  "webhook": "https://your-site.example/maskid/callback",
  "scopes": ["trust_index", "humanity"]
}
attestation · what comes back, signed
{
  "type": "maskid.attestation",
  "subject_id": "msub_k5r2…",
  "rp_user_id": "u_8347",
  "trust_index": 87,
  "human_witnessed": 90, "human_costly": 55, "human_confidence": 90,
  "issued_at": "2026-08-29T14:02:09Z"
}
What you receive

Two numbers most sites need. Seven packs if you want more.

Always included

Trust Index · 0–100

How established and reputation-backed the member is. Rides every grant, no scope needed. Gate your site by tier.

humanity pack

Human confidence · 0–100

Is there a person here? From what real people witnessed (on video, by voice, in person), not from a captcha.

PackWhat it carries
profileProfile type, the real-person hurdle, account age and activity as ranges, Founding Member, invited
referralsReferral counts as ranges, referrers’ average Trust Index and verification rate, never who
reputationWhat referrers said, averaged: real-person confidence, would-recommend, would-trust-with… (ten or more referrers)
humanityWitnessed, costly-to-fake, and the combined human confidence
presenceCoverage score, verified platform count, cryptographic key linkage, not which accounts
commitmentTrust Capital score, holdings and coin-age buckets, tips, username-market activity
pay_linkA private payment page for your site: a fresh shielded address, never the member’s wallet

Opt-ins (masternode owner, location, which platforms, confirmed fields of work, track record) start unchecked. The full catalog and every “never available” guarantee is in the API reference.

Button kit

The “Sign in with Mask.ID” button.

Copy it as-is so members recognise it everywhere. Point it at the sign-in link your server builds.

Sign in with Mask.IDOn dark
Sign in with Mask.IDOn light
button.html · paste anywhereicon SVG
<a class="maskid-btn" href="YOUR_SIGN_IN_URL">
  <img src="/img/maskid-tile.svg"
       alt="" width="20" height="20">
  Sign in with Mask.ID
</a>

<style>
.maskid-btn{display:inline-flex;align-items:center;gap:10px;
  background:#060029;color:#fff;font:600 15px/1 system-ui,sans-serif;
  padding:12px 20px;text-decoration:none;
  /* square, with one missing corner pixel */
  clip-path:polygon(0 0,calc(100% - 8px) 0,calc(100% - 8px) 8px,
    100% 8px,100% 100%,0 100%)}
.maskid-btn:hover{background:#140d45}
/* on light pages, the navy button stays: it carries the brand */
</style>
  • Download the icon and serve it from your own site. Don’t link to ours: your visitors’ browsers would then contact Mask.ID on every page view.
  • Keep the words Sign in with Mask.ID, casing included.
  • Never recolor the red .ID icon, crop it, or put it on red.
  • Keep the button at least 40px tall, with the icon at 20px.
  • Navy #060029 on any background; white text only.
Need a hand?

Stuck on an integration? Talk to a human.

Become a partner

Contact Us

Or message the developer directly on Vector.