API Overview
Last updated: December 18, 2025
The MIR API lets partners submit user activity and query neutral history signals. Here's what each capability does and why it matters.
Core Capabilities
Submit Events
When users do things on your platform—complete purchases, post reviews, finish projects—you tell MIR about it. These events build the user's portable reputation history that travels with them across the internet.
Events are simple: who did it, what happened, and optionally how significant it was. MIR handles the rest.
Query History Signals
Before making decisions about a user, ask MIR what history exists. You'll get neutral facts: how many events, how many platforms, how recent. Use this as context for your own judgment—MIR doesn't tell you what to decide.
History tiers (none, limited, established, extensive) tell you volume only. A blank history isn't negative—it just means no recorded activity yet.
Account Linking
Users can link their identity across platforms. When they do, their activity on your platform contributes to their global reputation, and you can see history they've built elsewhere.
Linking is always user-initiated. You can't look up arbitrary users—only those who've chosen to connect with you.
Available Endpoints
POST /events
Submit a reputation event for a user on your platform. Creates the user record automatically if they don't exist yet.
POST /resolve
Look up a user's history signals. Returns tier, event count, partner count, and recency—neutral facts only, not scores or judgments.
POST /partners/link/invite
Generate an invite link for a user to connect their MIR account to your platform. They click the link, log in to MIR, and confirm.
POST /partners/link/code
Generate a short verification code for user-initiated linking. Useful when users want to link from your settings page.
GET /partners/link/status
Check if a user has linked their MIR account. Use this to show "Connected to MIR" status in your UI.
GET /events
List events you've submitted. Useful for debugging and verifying your integration is working.
Authentication: All partner endpoints require your API key in the x-api-key header. You receive this when your partner application is approved.
What MIR Doesn't Do
- No scores or ratings. MIR provides history depth, not trust scores. You decide what the data means.
- No user surveillance. You can only see users who've linked to your platform or whose events you submitted.
- No automated decisions. MIR gives you context. Your policies determine the outcome.
- No data selling. User history exists to serve users, not to be monetized.
Event Types
Events use the format category.action—like transaction.completed or
review.posted. You can use any event type that makes sense for your platform.
Common categories include commerce events (transactions, chargebacks), community events (content, moderation), and platform events (verification, subscriptions). The Partner Guide has a complete reference.
Ready to Integrate?
The Partner Guide has everything you need: code examples, event type reference, and implementation patterns.
Partner Portal Integration GuideQuestions?
If you're evaluating MIR or have questions about the API, reach out. We're happy to discuss your use case.