Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.
Creates a new user event to track actions and behaviors within your application. Events are used for fraud detection, compliance monitoring, behavioral analytics, and audit trails. The system automatically registers devices, can optionally create entities when they don’t exist, and runs the rules engine to evaluate risk. The response includes rulesResult and rulesExecutionSummary when rules are triggered.
📋 Events automatically register devices when deviceId and deviceDetails are provided, eliminating the need for separate device management.
Enable automatic entity creation when an entity with the provided taxId doesn’t exist. When true, if the event includes a taxId and no entity exists with that tax ID, a new person or company entity will be automatically created.Example: ?withAutoEntity=true
Type of event being tracked. Must be one of the supported event types (see Event Types section below), including authentication, transfers, biometric validation, and more.Example: "LOGIN_SUCCESS"
gu1’s entity UUID. Provide this if you have the internal gu1 ID.
Entity Identification: You must provide at least ONE of: entityId, entityExternalId, or taxId. These fields support OR logic, so the system will find the entity using any of these identifiers. SDK exception: organizations with the SDK enabled may instead send only a sessionId for anonymous pre-login events.
Tax identification number (CPF, CNPJ, CUIT, etc.). When combined with ?withAutoEntity=true, this will create the entity if it doesn’t exist.Example: "20242455496"
Business date for the event. Used by historical rules as the starting point for time windows (e.g. “last 7 days” is calculated backwards from this date).Format: ISO 8601 datetime string with timezone (e.g. "2026-01-30T14:30:00Z" or "2026-01-30T00:00:00.000Z").If you don’t send it: The system uses the same value as timestamp (or the current server time if neither is sent). So the event is treated as “now” for historical rules—no need to send it when the event is real-time.
Omitted → We set eventDate = timestamp (or now). Historical rules use that as the starting point.
Format → ISO 8601 with timezone: "YYYY-MM-DDTHH:mm:ss.sssZ" (e.g. "2026-01-30T00:00:00.000Z").
When to send → When the event actually happened on a different date than when you’re sending it (e.g. backfilled or batch events).
SDK session identifier (sess_..., max 64 chars). For organizations with the SDK enabled, an event carrying only a sessionId (no entity identifier) is accepted and persisted as an anonymous pre-login event; it is linked to the entity later on the first event that carries both sessionId and an entity identifier. Without the SDK enabled, an entity identifier is still required.Example: "sess_a1b2c3d4"
Structured signals emitted by the SDK (kept separate from free-form metadata). All fields optional: sessionId, sessionDuration, integrityScore (0–100), integrityFlags (fetchHooked, prototypeModified, debuggerAttached, framingDetected), and behavioralSignals (keystrokeAvgMs, pasteDetected, completionTimeMs, touchVelocity).
gu1 computes a value (see below); defaults to false when device data is insufficient
Use the explicit flag when your app already knows whether the session is on a new device (SDK, local storage, your own device registry). Omit it when you want gu1 to infer it from the device registry.
Register or update the device for the resolved entity (devices table).
Set isNewDevice to true if either:
No row exists yet for (organization, entity, deviceId), or
The device exists but firstSeenAt is within the last 5 minutes (first-seen window).
Otherwise set isNewDevice to false (device already known to gu1 for that entity).
Send deviceId + deviceDetails on login and security-sensitive events even when you set isNewDevice yourself, so gu1 keeps the device registry up to date for other rules and audits.
📋 Choose the most specific event type that matches your use case. Use OTHER_EVENT only when no specific type applies. The full list is on User event codes.
Only present when the rules engine ran for this event. Summary of which rules matched (hit) vs did not match (no hit), executed actions, and total score. See Rules Execution Summary for the full structure and a complete example.
rulesHit (array) - Rules whose conditions were met. Each item: name, description, score, priority, category, status, conditions, actions.
rulesNoHit (array) - Rules evaluated but conditions not met. Same structure as rulesHit.
actionsExecuted (object) - Aggregated executed actions: alerts, suggestion, status, assignedUser, customKeys (array of strings, optional) — custom action keys from rules that matched (e.g. require_kyc, flag_for_review); for integrations/workflows.
totalScore (number) - Sum of score of all rules that hit (excluding shadow).
{ "success": false, "error": { "code": "VALIDATION_ERROR", "message": "At least one entity identifier is required: entityId, entityExternalId, or taxId" }}
Always include deviceId and deviceDetails when available so gu1 can maintain the device registry. Set isNewDevice explicitly when your integration already classifies new devices; otherwise omit it and let gu1 infer (see How isNewDevice works).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"gu1","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/geno-f35946c5/u95feZdjOS0TUwM0/logo/light.svg?fit=max\u0026auto=format\u0026n=u95feZdjOS0TUwM0\u0026q=85\u0026s=2538da257ffd4de46bd5e7c5a7a70349","dark":"https://mintcdn.com/geno-f35946c5/u95feZdjOS0TUwM0/logo/dark.svg?fit=max\u0026auto=format\u0026n=u95feZdjOS0TUwM0\u0026q=85\u0026s=c47938269a3a978691d27b98a3ef7631","href":"https://gu1.ai"},"favicon":"https://mintcdn.com/geno-f35946c5/1v-_8K99Mep7uuN6/logo/favicon.png?fit=max\u0026auto=format\u0026n=1v-_8K99Mep7uuN6\u0026q=85\u0026s=af8122bd505fa307f92768669dd1b0f6","api":{"mdx":{"auth":{"method":"bearer"},"server":"http://api.gu1.ai"}},"navbar":{"links":[{"href":"https://app.gu1.ai","label":"Dashboard"},{"href":"/en/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Get Started","href":"https://app.gu1.ai/signup"}},"footer":{"socials":{"twitter":"https://twitter.com/gueno","linkedin":"https://linkedin.com/company/gueno","github":"https://github.com/tkgueno"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"geno-f35946c5","hasAudioNarration":false,"actualSubdomain":"geno-f35946c5","customDomains":["docs.gu1.ai"],"gitSource":{"type":"github","owner":"gueno-repositories","repo":"gueno-v3-ai","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae24c55d8d824087a00d8f6","collectionId":"22970b3f-c4ec-4a1a-939b-793b70d84fc8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae24c55d8d824087a00d8f6"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae24c55d8d824087a00d8f6","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":205},{"language":"default","tag":"Referencia API","count":160},{"language":"default","tag":"Referência API","count":159},{"language":"default","tag":"Workflows","count":66},{"language":"default","tag":"Empresa","count":44},{"language":"default","tag":"Casos de Uso","count":34},{"language":"default","tag":"Webhooks","count":30},{"language":"default","tag":"Know Your Customer (KYC)","count":29},{"language":"default","tag":"AML Crypto","count":27},{"language":"default","tag":"Conozca Su Cliente (KYC)","count":27}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"support@gu1.ai"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"design-system/overview-v2-shell/overview.css","content":".app{display:grid;grid-template-columns:232px 1fr;grid-template-rows:48px 1fr;grid-template-areas:\"top top\" \"side main\";min-height:100vh}.topbar{grid-area:top;gap:12px;padding:0 16px;background:var(--bg-panel);border-bottom:1px solid var(--br-subtle);position:sticky;top:0;z-index:50}.brand,.topbar,.topbar-left{display:flex;align-items:center}.topbar-left{gap:12px;min-width:232px}.brand{gap:8px;padding-right:10px;margin-right:4px;border-right:1px solid var(--br-subtle);height:28px}.brand-mark{font-weight:700;font-size:14px;letter-spacing:-.01em}.ws-switch{display:flex;align-items:center;gap:6px;font-size:var(--t-meta);padding:4px 8px;border-radius:var(--r-2);cursor:pointer}.env-pill:hover,.ws-switch:hover{background:var(--bg-hover)}.ws-label{color:var(--fg-secondary)}.ws-sep{color:var(--fg-quaternary)}.ws-name{color:var(--fg-primary);font-weight:500}.env-pill{display:inline-flex;align-items:center;gap:6px;font-size:var(--t-micro);padding:3px 8px;border:1px solid var(--br-default);border-radius:var(--r-full);color:var(--fg-secondary)}.env-dot{width:6px;height:6px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px var(--success-soft)}.env-dot.warn{background:var(--high);box-shadow:0 0 0 3px var(--high-soft)}.cmdk,.topbar-right{display:flex;align-items:center}.cmdk,.cmdk kbd,kbd{border:1px solid var(--br-default)}.cmdk{flex:1;max-width:480px;gap:8px;height:30px;padding:0 10px;margin:0 auto;background:var(--bg-canvas);border-radius:var(--r-3);font-size:var(--t-meta);color:var(--fg-tertiary);transition:border-color .15s}.cmdk:hover{border-color:var(--br-strong)}.cmdk span{flex:1;text-align:left}.cmdk kbd,kbd{font-family:var(--font-mono);font-size:10px;padding:2px 6px;border-radius:4px;background:var(--bg-elevated);color:var(--fg-secondary)}.topbar-right{gap:4px;margin-left:auto}.icon-btn,.quota{display:inline-flex;align-items:center;gap:6px}.quota{font-size:var(--t-micro);padding:4px 10px;border:1px solid var(--br-default);border-radius:var(--r-full)}.quota .ai-fg{color:var(--ai-fg)}.icon-btn{width:30px;height:30px;justify-content:center;border-radius:var(--r-2);color:var(--fg-secondary);position:relative}.icon-btn:hover{background:var(--bg-hover);color:var(--fg-primary)}.icon-btn.lang{width:auto;padding:0 8px}.icon-btn .agent-label,.icon-btn.lang{font-size:var(--t-micro)}.icon-btn:has(.agent-label){width:auto;padding:0 10px}.badge-dot{position:absolute;top:6px;right:6px;width:6px;height:6px;border-radius:50%;background:var(--critical)}.avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,oklch(.6 .1 250),oklch(.55 .12 290));color:#fff;font-size:10.5px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;letter-spacing:.02em;margin-left:4px}.sidebar{grid-area:side;background:var(--bg-panel);border-right:1px solid var(--br-subtle);padding:12px 8px 8px;position:sticky;top:48px;height:calc(100vh - 48px);overflow-y:auto}.nav,.nav-group,.sidebar{display:flex;flex-direction:column}.nav{flex:1;gap:14px}.nav-group{gap:1px}.nav-label{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-quaternary);padding:6px 10px 4px}.nav-item{display:flex;align-items:center;gap:9px;height:28px;padding:0 10px;border-radius:var(--r-2);font-size:var(--t-body);color:var(--fg-secondary);cursor:pointer;transition:background .12s,color .12s}.nav-item:hover{background:var(--bg-hover);color:var(--fg-primary)}.nav-item.active{background:var(--bg-active);color:var(--fg-primary)}.nav-item.active .nav-icon{color:var(--accent-fg)}.nav-icon{color:var(--fg-tertiary)}.nav-item:hover .nav-icon{color:var(--fg-secondary)}.nav-text{flex:1}.nav-badge{font-size:10px;padding:1px 6px;border-radius:var(--r-full);background:var(--bg-elevated);color:var(--fg-tertiary);font-variant-numeric:tabular-nums}.nav-badge.danger{background:var(--critical-soft);color:var(--critical-fg)}.nav-tag{font-size:9px;padding:1px 5px;border-radius:3px;background:var(--ai-soft);color:var(--ai-fg);letter-spacing:.04em;text-transform:uppercase;font-weight:600}.sidebar-foot{display:flex;align-items:center;gap:6px;padding:8px 4px 4px;border-top:1px solid var(--br-subtle);margin-top:8px}.ws-card{flex:1;padding:6px 8px;border-radius:var(--r-2)}.ws-card:hover{background:var(--bg-hover);cursor:pointer}.ws-card-row{display:flex;align-items:center;gap:6px;font-size:var(--t-meta)}.ws-card-row.sub{font-size:var(--t-micro);margin-top:2px}.ws-card-name{font-weight:600}.role-tag{font-size:9.5px;padding:1px 5px;border:1px solid var(--br-default);border-radius:3px;color:var(--fg-tertiary);letter-spacing:.04em}.settings-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:var(--fg-tertiary);border-radius:var(--r-2)}.settings-btn:hover{background:var(--bg-hover);color:var(--fg-primary)}.main{grid-area:main;background:var(--bg-canvas);min-width:0}.overview{display:grid;grid-template-columns:minmax(0,1fr) 332px;gap:28px;max-width:1400px;padding:24px 32px 80px;margin:0 auto}.overview.no-side{grid-template-columns:1fr}.overview.no-side .overview-side{display:none}.overview-main{display:flex;flex-direction:column;gap:24px;min-width:0}.overview-side{min-width:0}.block{display:flex;flex-direction:column}.block-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px 10px;border-bottom:1px solid var(--br-subtle);margin-bottom:14px;gap:12px}.block-head.collapsable{width:100%;text-align:left}.block-head.collapsable:hover .block-title,.ghost-btn:hover{color:var(--fg-primary)}.block-title-wrap{display:flex;flex-direction:column;gap:2px;min-width:0}.block-title{margin:0;font-size:var(--t-h2);font-weight:600;letter-spacing:-.005em;display:inline-flex;align-items:center;gap:8px}.block-meta{font-size:var(--t-micro)}.block-actions{display:flex;gap:4px;align-items:center}.inline-ico{color:currentColor}.beta-pill{font-size:9px;padding:1px 5px;border-radius:3px;background:var(--ai-soft);color:var(--ai-fg);text-transform:uppercase;letter-spacing:.06em;font-weight:700}.btn-ghost,.btn-primary,.ghost-btn{font-size:var(--t-meta);border-radius:var(--r-2);display:inline-flex;align-items:center;gap:6px}.ghost-btn{color:var(--fg-secondary);height:26px;padding:0 8px}.ghost-btn:hover{background:var(--bg-hover)}.ghost-btn.align-right{margin-left:auto}.btn-ghost,.btn-primary{height:28px;padding:0 10px}.btn-primary{background:var(--accent-soft);color:var(--accent-fg);font-weight:500;border:1px solid transparent}.btn-primary:hover{background:var(--accent);color:#fff}.btn-ghost{color:var(--fg-secondary)}.btn-ghost:hover{background:var(--bg-hover);color:var(--fg-primary)}.sev-dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex:0 0 6px}.sev-pill{display:inline-flex;align-items:center;gap:0;font-size:var(--t-micro);padding:1px 6px;border-radius:3px;font-weight:500;letter-spacing:.01em}.sev-crit{background:var(--critical)}.sev-pill.sev-crit{background:var(--critical-soft);color:var(--critical-fg)}.sev-high{background:var(--high)}.sev-pill.sev-high{background:var(--high-soft);color:var(--high-fg)}.sev-med{background:var(--medium)}.sev-pill.sev-med{background:var(--medium-soft);color:var(--medium-fg)}.sev-low{background:var(--low)}.sev-pill.sev-low{background:var(--low-soft);color:var(--low-fg)}.brk.crit b,.crit-text{color:var(--critical-fg)}.brk.warn b,.warn-text{color:var(--high-fg)}.success-text{color:var(--success)}.ai-fg{color:var(--ai-fg)}.kv dt,.muted{color:var(--fg-tertiary)}.meta-sep{color:var(--fg-quaternary);margin:0 6px}.briefing{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;padding-bottom:4px}.briefing-text{min-width:0}.briefing-meta{font-size:var(--t-micro);color:var(--fg-tertiary);display:flex;align-items:center;flex-wrap:wrap;margin-bottom:8px}.briefing-meta .env-inline{display:inline-flex;align-items:center;gap:5px}.briefing-meta .env-dot{width:5px;height:5px;box-shadow:none}.briefing-title{font-size:var(--t-display);font-weight:600;letter-spacing:-.022em;margin:0 0 8px;line-height:1.1}.briefing-lede{font-size:15px;line-height:1.55;max-width:64ch;color:var(--fg-secondary);margin:0 0 18px}.activity-line strong,.briefing-lede strong{color:var(--fg-primary);font-weight:600}.next-up{display:flex;flex-direction:column;gap:8px}.next-up-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--fg-tertiary);display:inline-flex;align-items:center;gap:6px;font-weight:600}.next-up-card{width:100%;display:flex;align-items:stretch;justify-content:space-between;padding:14px 16px;border:1px solid var(--br-default);border-left:3px solid var(--critical);border-radius:var(--r-3);background:var(--bg-panel);text-align:left;transition:border-color .15s,background .15s}.next-up-card:hover{background:var(--bg-elevated);border-color:var(--br-strong);border-left-color:var(--critical)}.next-up-main{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.next-up-headline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.case-id{font-size:var(--t-meta);color:var(--fg-tertiary);letter-spacing:.02em}.case-title{font-size:15px;font-weight:600;color:var(--fg-primary)}.next-up-sub{font-size:var(--t-meta);color:var(--fg-secondary);display:flex;align-items:center;flex-wrap:wrap}.due-now,.next-up-action{display:inline-flex;align-items:center;font-weight:500}.due-now{gap:5px;color:var(--critical-fg)}.next-up-action{gap:8px;align-self:center;padding:8px 14px;border-radius:var(--r-3);font-size:var(--t-body);flex-shrink:0}.next-up-action,[data-theme=light] .next-up-action{background:var(--accent);color:#fff}.next-up-card:hover .next-up-action{background:oklch(from var(--accent) calc(l + .05) c h)}.next-up-strip{display:flex;align-items:center;gap:10px;font-size:var(--t-meta);padding:0 2px;flex-wrap:wrap}.next-chip{display:inline-flex;align-items:center;gap:6px;color:var(--fg-secondary)}.next-link{color:var(--accent-fg);font-size:var(--t-meta);margin-left:auto}.next-link:hover{text-decoration:underline}.my-stats{display:flex;flex-direction:column;gap:0;background:var(--bg-panel);border:1px solid var(--br-subtle);border-radius:var(--r-3);overflow:hidden}.my-stat-row{padding:14px 16px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:12px;row-gap:4px;align-items:baseline}.my-stat-row+.my-stat-row{border-top:1px solid var(--br-subtle)}.my-stat-lab{font-size:var(--t-micro);color:var(--fg-tertiary);text-transform:uppercase;letter-spacing:.06em;font-weight:600}.my-stat-num{font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1;text-align:right;grid-row:1/3;align-self:center}.my-stat-break{font-size:var(--t-micro);color:var(--fg-tertiary);display:flex;gap:10px}.brk b{font-weight:600}.brk b,.brk.low b{color:var(--fg-secondary)}.venc-list{gap:6px}.venc-group,.venc-list{display:flex;flex-direction:column}.venc-group-head{display:flex;align-items:baseline;gap:8px;padding:8px 4px 4px;font-size:var(--t-micro);text-transform:uppercase;letter-spacing:.08em;font-weight:600;color:var(--fg-tertiary);border-bottom:1px dashed var(--br-subtle);margin-bottom:2px}.venc-group-name,.venc-row{color:var(--fg-secondary)}.venc-row{display:grid;grid-template-columns:8px 64px minmax(180px,1fr) auto auto auto auto 16px;align-items:center;gap:14px;width:100%;height:36px;padding:0 8px 0 6px;border-radius:var(--r-2);text-align:left;font-size:var(--t-body);transition:background .12s}.venc-row:hover{background:var(--bg-hover)}.venc-row:hover .venc-title{color:var(--fg-primary)}.venc-id{color:var(--fg-tertiary);font-size:var(--t-meta)}.venc-title{color:var(--fg-primary);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.venc-tags{display:inline-flex;gap:5px;flex-shrink:0}.tag{font-size:10.5px;padding:1px 7px;border-radius:3px;background:var(--bg-elevated);color:var(--fg-tertiary);border:1px solid var(--br-subtle)}.venc-score{display:inline-flex;gap:5px;align-items:baseline;font-size:var(--t-meta)}.venc-assignee,.venc-due{font-size:var(--t-meta);white-space:nowrap}.venc-due{display:inline-flex;align-items:center;gap:4px;min-width:84px;justify-content:flex-end;color:var(--fg-secondary)}.venc-due.crit-text{color:var(--critical-fg);font-weight:500}.venc-go{color:var(--fg-quaternary)}.venc-row:hover .venc-go{color:var(--fg-secondary)}.insight,.insights-list{display:flex;flex-direction:column;gap:0}.insight{position:relative;padding:16px 16px 14px 22px;border-bottom:1px solid var(--br-subtle);gap:8px}.fraud-top li:last-child,.insight:last-child{border-bottom:none}.insight-rail{position:absolute;left:0;top:18px;bottom:18px;width:2px;border-radius:2px;background:var(--ai);opacity:.5}.insight:hover .insight-rail{opacity:1}.insight-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.insight-lead{display:inline-flex;align-items:center;gap:10px;font-size:var(--t-micro);color:var(--fg-tertiary)}.insight-agent,.insight-conf{display:inline-flex;align-items:center;gap:5px}.insight-agent .mono{font-size:var(--t-micro);color:var(--ai-fg);font-weight:500}.insight-conf{gap:8px;font-size:var(--t-micro);color:var(--fg-tertiary)}.insight-conf .num{color:var(--fg-secondary);font-weight:600}.conf-bar{width:56px;height:3px;background:var(--bg-elevated);border-radius:2px;overflow:hidden}.conf-fill{height:100%;background:var(--ai);border-radius:2px}.insight-title{margin:2px 0 0;font-size:15.5px;font-weight:600;letter-spacing:-.005em;line-height:1.3}.insight-body{margin:0;font-size:var(--t-body);color:var(--fg-secondary);line-height:1.55;max-width:80ch}.insight-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;flex-wrap:wrap}.insight-related{display:inline-flex;align-items:center;gap:6px;font-size:var(--t-micro)}.insight-actions{display:inline-flex;gap:4px}.fraud-block .block-head{cursor:pointer}.fraud-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:1px;background:var(--br-subtle);border:1px solid var(--br-subtle);border-radius:var(--r-3);overflow:hidden}.fraud-cell{background:var(--bg-panel);padding:14px 16px;min-height:92px;display:flex;flex-direction:column;gap:4px}.fraud-cell.big{grid-row:span 1}.fraud-cell.wide{grid-column:1/-1}.fraud-lab{font-size:var(--t-micro);color:var(--fg-tertiary);text-transform:uppercase;letter-spacing:.06em;font-weight:600}.fraud-num,.fraud-num-s{font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.1;margin-top:2px}.fraud-num-s{font-size:22px;letter-spacing:-.01em;line-height:1.2}.fraud-cur{font-size:13px;color:var(--fg-tertiary);font-weight:500;margin-left:2px}.fraud-delta{font-size:var(--t-micro);display:inline-flex;align-items:center;gap:5px;margin-top:auto}.fraud-rule{font-size:15px;font-weight:500;margin-top:4px}.fraud-top{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:0}.fraud-top li{display:grid;grid-template-columns:8px 64px minmax(180px,1fr) auto 60px;gap:14px;align-items:center;font-size:var(--t-meta);height:30px;border-bottom:1px dashed var(--br-subtle)}.fraud-top .num{font-weight:600;color:var(--fg-primary)}.fraud-top .muted{text-align:right}.shortcuts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.shortcut,.shortcut-ico{align-items:center;color:var(--fg-secondary)}.shortcut{display:flex;gap:10px;padding:10px 12px;border:1px solid var(--br-default);border-radius:var(--r-3);background:var(--bg-panel);font-size:var(--t-body);transition:background .12s,border-color .12s,color .12s}.shortcut:hover{background:var(--bg-elevated);border-color:var(--br-strong);color:var(--fg-primary)}.shortcut.primary{border-color:var(--accent-soft);color:var(--fg-primary)}.doc-top .crumbs a,.shortcut.primary .shortcut-ico{color:var(--accent-fg)}.shortcut-ico{width:28px;height:28px;border-radius:var(--r-2);background:var(--bg-elevated);display:inline-flex;justify-content:center}.shortcut-label{flex:1;font-weight:500}.kbd-inline,.kbd-mini{font-family:var(--font-mono);font-size:10px;padding:1px 5px;border-radius:3px;border:1px solid var(--br-default)}.kbd-mini{background:var(--bg-canvas);color:var(--fg-tertiary)}.kbd-inline{background:var(--bg-elevated);color:var(--fg-secondary)}.activity-col{position:sticky;top:72px;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 96px)}.activity-head{padding-bottom:6px;border-bottom:1px solid var(--br-subtle)}.activity-filters{display:flex;gap:2px;padding:0 2px}.activity-filter{font-size:var(--t-micro);padding:4px 8px;border-radius:var(--r-2);color:var(--fg-tertiary)}.activity-filter:hover{background:var(--bg-hover);color:var(--fg-primary)}.activity-filter.on{background:var(--bg-active);color:var(--fg-primary)}.activity-list{list-style:none;margin:0;display:flex;flex-direction:column;gap:0;overflow-y:auto;flex:1;padding:0 4px 0 0}.activity-item{display:grid;grid-template-columns:22px 1fr;gap:10px;padding:10px 0;border-bottom:1px dashed var(--br-subtle)}.activity-item:last-child{border-bottom:none}.activity-ico{width:22px;height:22px;border-radius:var(--r-2);display:inline-flex;align-items:center;justify-content:center}.activity-ico.c-ai{background:var(--ai-soft);color:var(--ai-fg)}.activity-ico.c-success{background:var(--success-soft);color:var(--success)}.activity-ico.c-high{background:var(--high-soft);color:var(--high-fg)}.activity-ico.c-crit{background:var(--critical-soft);color:var(--critical-fg)}.activity-ico.c-muted{background:var(--bg-elevated);color:var(--fg-secondary)}.activity-body{min-width:0}.activity-line{font-size:var(--t-meta);color:var(--fg-secondary);line-height:1.4}.activity-target{color:var(--fg-primary)}.activity-meta,.activity-more{display:inline-flex;align-items:center}.activity-meta{font-size:var(--t-micro);margin-top:2px;flex-wrap:wrap}.activity-more{margin-top:4px;font-size:var(--t-meta);color:var(--accent-fg);gap:6px;padding:8px 0;align-self:flex-start}.activity-more:hover,.doc-top .crumbs a:hover{text-decoration:underline}@media (max-width:1240px){.overview{grid-template-columns:1fr}.overview-side{display:none}.briefing{grid-template-columns:1fr}}@media (max-width:980px){.app{grid-template-columns:64px 1fr}.sidebar{padding:8px 4px}.nav-badge,.nav-label,.nav-tag,.nav-text,.sidebar-foot .ws-card,.topbar-left .env-pill,.topbar-left .ws-switch{display:none}}.doc{max-width:1100px;margin:0 auto;padding:32px 32px 80px;display:flex;flex-direction:column;gap:36px;color:var(--fg-secondary)}.doc h1,.doc h2,.doc h3{font-weight:600;color:var(--fg-primary);margin:0 0 4px}.doc h1{font-size:24px;letter-spacing:-.015em}.doc h2,.doc h3{font-size:17px}.doc h3{font-size:13px;margin:16px 0 6px;text-transform:uppercase;letter-spacing:.06em}.doc li,.doc p{font-size:13px;line-height:1.6}.doc-section{border-top:1px solid var(--br-subtle);padding-top:28px}.doc-section:first-child{border-top:none;padding-top:0}.doc-lede{font-size:14px;color:var(--fg-secondary);max-width:70ch}.doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.swatch{border:1px solid var(--br-subtle);border-radius:var(--r-3);overflow:hidden}.swatch-color{height:60px}.swatch-meta{padding:8px 10px;font-size:var(--t-micro);display:flex;flex-direction:column;gap:2px;background:var(--bg-panel)}.kv dd,.swatch-meta b{color:var(--fg-primary)}.swatch-meta b{font-size:var(--t-meta)}.swatch-meta code{font-family:var(--font-mono);color:var(--fg-tertiary);font-size:10px}.type-row{display:flex;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px dashed var(--br-subtle)}.type-row .label,.type-row .spec{font-size:var(--t-micro);color:var(--fg-tertiary)}.type-row .label{width:100px;text-transform:uppercase;letter-spacing:.06em}.type-row .spec{width:120px;font-family:var(--font-mono)}.type-row .sample{color:var(--fg-primary);flex:1}.kv{display:grid;grid-template-columns:200px 1fr;gap:6px 16px;font-size:var(--t-body)}.kv dd{margin:0}.doc-foot-link,.note{font-size:var(--t-meta)}.note{padding:12px 14px;border-left:2px solid var(--accent);background:var(--accent-soft);border-radius:0 var(--r-2) var(--r-2) 0;color:var(--fg-secondary)}.doc-foot-link{color:var(--accent-fg);display:inline-flex;align-items:center;gap:6px}.doc-top{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:12px 32px;background:var(--bg-panel);border-bottom:1px solid var(--br-subtle)}.doc-top .brand{border-right:none;padding-right:0}.doc-top .crumbs{font-size:var(--t-meta);color:var(--fg-tertiary);display:inline-flex;align-items:center;gap:8px}.activity-list::-webkit-scrollbar,.sidebar::-webkit-scrollbar{width:8px}.activity-list::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background:var(--bg-active);border-radius:4px}.activity-list::-webkit-scrollbar-track,.sidebar::-webkit-scrollbar-track{background:0 0}"},{"filePath":"design-system/overview-v2-shell/tokens.css","content":":root{--font-sans:\"Inter\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif;--font-mono:\"JetBrains Mono\", ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;--t-display:28px;--t-h1:22px;--t-h2:16px;--t-h3:14px;--t-body:13px;--t-meta:12px;--t-micro:11px;--t-num-xl:36px;--t-num-lg:26px;--lh-tight:1.15;--lh-snug:1.3;--lh-body:1.5;--s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:20px;--s-6:24px;--s-7:32px;--s-8:40px;--s-9:56px;--r-1:4px;--r-2:6px;--r-3:8px;--r-4:10px;--r-full:999px;--h-blue:250;--h-violet:285;--h-red:18;--h-amber:55;--h-green:155;--h-teal:200}:root,[data-theme=dark]{--bg-canvas:#141518;--bg-panel:#1c1e22;--bg-elevated:#252830;--bg-hover:#2e3239;--bg-active:#383d45;--br-subtle:rgba(255,255,255,0.07);--br-default:rgba(255,255,255,0.11);--br-strong:rgba(255,255,255,0.16);--br-focus:oklch(0.72 0.12 var(--h-blue));--fg-primary:#ececed;--fg-secondary:#9ea1a6;--fg-tertiary:#6a6d72;--fg-quaternary:#4a4d52;--fg-disabled:#3a3d42;--accent:oklch(0.72 0.11 var(--h-blue));--accent-soft:oklch(0.72 0.11 var(--h-blue) / 0.14);--accent-fg:oklch(0.78 0.12 var(--h-blue));--critical:oklch(0.66 0.16 var(--h-red));--critical-soft:oklch(0.66 0.16 var(--h-red) / 0.14);--critical-fg:oklch(0.76 0.13 var(--h-red));--high:oklch(0.75 0.13 var(--h-amber));--high-soft:oklch(0.75 0.13 var(--h-amber) / 0.14);--high-fg:oklch(0.82 0.12 var(--h-amber));--medium:oklch(0.70 0.07 var(--h-teal));--medium-soft:oklch(0.70 0.07 var(--h-teal) / 0.14);--medium-fg:oklch(0.78 0.07 var(--h-teal));--low:oklch(0.62 0.02 250);--low-soft:oklch(0.62 0.02 250 / 0.14);--low-fg:oklch(0.72 0.02 250);--success:oklch(0.72 0.11 var(--h-green));--success-soft:oklch(0.72 0.11 var(--h-green) / 0.14);--ai:oklch(0.74 0.12 var(--h-violet));--ai-soft:oklch(0.74 0.12 var(--h-violet) / 0.14);--ai-fg:oklch(0.80 0.11 var(--h-violet));--shadow-1:0 0 0 1px var(--br-subtle);--shadow-2:0 1px 0 0 rgba(0,0,0,0.4), 0 0 0 1px var(--br-subtle);color-scheme:dark}[data-theme=light]{--bg-canvas:#fafaf8;--bg-panel:#ffffff;--bg-elevated:#ffffff;--bg-hover:#f3f3f1;--bg-active:#eaeae7;--br-subtle:rgba(15,15,17,0.07);--br-default:rgba(15,15,17,0.11);--br-strong:rgba(15,15,17,0.18);--br-focus:oklch(0.50 0.14 var(--h-blue));--fg-primary:#0a0a0b;--fg-secondary:#4d4f52;--fg-tertiary:#7c7e82;--fg-quaternary:#a8aaad;--fg-disabled:#c8cacc;--accent:oklch(0.50 0.14 var(--h-blue));--accent-soft:oklch(0.50 0.14 var(--h-blue) / 0.08);--accent-fg:oklch(0.43 0.16 var(--h-blue));--critical:oklch(0.55 0.13 var(--h-red));--critical-soft:oklch(0.55 0.13 var(--h-red) / 0.10);--critical-fg:oklch(0.46 0.14 var(--h-red));--high:oklch(0.66 0.10 var(--h-amber));--high-soft:oklch(0.66 0.10 var(--h-amber) / 0.14);--high-fg:oklch(0.46 0.10 var(--h-amber));--medium:oklch(0.60 0.05 var(--h-teal));--medium-soft:oklch(0.60 0.05 var(--h-teal) / 0.12);--medium-fg:oklch(0.42 0.06 var(--h-teal));--low:oklch(0.62 0.02 250);--low-soft:oklch(0.62 0.02 250 / 0.10);--low-fg:oklch(0.45 0.02 250);--success:oklch(0.50 0.11 var(--h-green));--success-soft:oklch(0.50 0.11 var(--h-green) / 0.10);--ai:oklch(0.52 0.05 295);--ai-soft:oklch(0.92 0.018 295);--ai-fg:oklch(0.42 0.08 295);--shadow-1:0 0 0 1px var(--br-subtle);--shadow-2:0 1px 2px rgba(15,15,17,0.04), 0 0 0 1px var(--br-subtle);color-scheme:light}*{box-sizing:border-box}body,html{margin:0;padding:0}html.theme-switching,html.theme-switching *,html.theme-switching ::after,html.theme-switching ::before{transition:none!important;animation-duration:.001s!important}body{font-family:var(--font-sans);font-size:var(--t-body);line-height:var(--lh-body);color:var(--fg-primary);background:var(--bg-canvas);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:\"ss01\" on,\"cv11\" on,\"tnum\" off}a,button{color:inherit}button{font:inherit;background:0 0;border:0;padding:0;cursor:pointer}input,textarea{font:inherit;color:inherit}a{text-decoration:none}:focus-visible{outline:2px solid var(--br-focus);outline-offset:2px;border-radius:var(--r-2)}.mono,.num{font-variant-numeric:tabular-nums}.num{font-feature-settings:\"tnum\" on,\"cv11\" on}.mono{font-family:var(--font-mono)}"}],"page":{"pagePath":"en/api-reference/events/create","slug":"/en/api-reference/events/create","pageMetadata":{"title":"Create a user event for rules and fraud detection","description":"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.","api":"POST /events/user","href":"/en/api-reference/events/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,CodeGroup,Heading,Note,ParamField,ResponseField,Table,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Creates a new user event to track actions and behaviors within your application. Events are used for fraud detection, compliance monitoring, behavioral analytics, and audit trails. The system automatically registers devices, can optionally create entities when they don’t exist, and runs the rules engine to evaluate risk. The response includes `,_jsx(_components.code,{children:`rulesResult`}),` and `,_jsx(_components.code,{children:`rulesExecutionSummary`}),` when rules are triggered.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`📋 Events automatically register devices when `,_jsx(_components.code,{children:`deviceId`}),` and `,_jsx(_components.code,{children:`deviceDetails`}),` are provided, eliminating the need for separate device management.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.gu1.ai/events/user`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(_components.p,{children:`Requires a valid API key in the Authorization header:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(ParamField,{query:`withAutoEntity`,type:`boolean`,default:`false`,id:`param-with-auto-entity`,children:[_jsxs(_components.p,{children:[`Enable automatic entity creation when an entity with the provided `,_jsx(_components.code,{children:`taxId`}),` doesn’t exist. When true, if the event includes a `,_jsx(_components.code,{children:`taxId`}),` and no entity exists with that tax ID, a new person or company entity will be automatically created.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`?withAutoEntity=true`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`eventType`,type:`string`,required:true,id:`param-event-type`,children:[_jsxs(_components.p,{children:[`Type of event being tracked. Must be one of the supported event types (see `,_jsx(_components.a,{href:`#event-types`,children:`Event Types`}),` section below), including authentication, transfers, biometric validation, and more.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"LOGIN_SUCCESS\"`})]})]}),`\n`,_jsxs(ParamField,{body:`userId`,type:`string`,id:`param-user-id`,children:[_jsx(_components.p,{children:`Your internal user identifier. Used to group events by user across different entities.`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"user_12345\"`})]})]}),`\n`,_jsxs(ParamField,{body:`entityId`,type:`string`,id:`param-entity-id`,children:[_jsx(_components.p,{children:`gu1’s entity UUID. Provide this if you have the internal gu1 ID.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Entity Identification`}),`: You must provide at least ONE of: `,_jsx(_components.code,{children:`entityId`}),`, `,_jsx(_components.code,{children:`entityExternalId`}),`, or `,_jsx(_components.code,{children:`taxId`}),`. These fields support OR logic, so the system will find the entity using any of these identifiers. `,_jsx(_components.strong,{children:`SDK exception:`}),` organizations with the SDK enabled may instead send only a `,_jsx(_components.a,{href:`#sdk-events`,children:_jsx(_components.code,{children:`sessionId`})}),` for anonymous pre-login events.`]})})]}),`\n`,_jsxs(ParamField,{body:`entityExternalId`,type:`string`,id:`param-entity-external-id`,children:[_jsx(_components.p,{children:`Your external entity identifier. This is your unique ID for the entity in your system.`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"user_12345\"`})]})]}),`\n`,_jsxs(ParamField,{body:`taxId`,type:`string`,id:`param-tax-id`,children:[_jsxs(_components.p,{children:[`Tax identification number (CPF, CNPJ, CUIT, etc.). When combined with `,_jsx(_components.code,{children:`?withAutoEntity=true`}),`, this will create the entity if it doesn’t exist.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"20242455496\"`})]})]}),`\n`,_jsxs(ParamField,{body:`timestamp`,type:`string`,id:`param-timestamp`,children:[_jsx(_components.p,{children:`When the event occurred in ISO 8601 datetime format. If not provided, defaults to the current server time.`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"2026-01-30T14:30:00Z\"`})]})]}),`\n`,_jsxs(ParamField,{body:`eventDate`,type:`string`,id:`param-event-date`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Business date`}),` for the event. Used by historical rules as the starting point for time windows (e.g. “last 7 days” is calculated backwards from this date).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Format:`}),` ISO 8601 datetime string with timezone (e.g. `,_jsx(_components.code,{children:`\"2026-01-30T14:30:00Z\"`}),` or `,_jsx(_components.code,{children:`\"2026-01-30T00:00:00.000Z\"`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`If you don’t send it:`}),` The system uses the same value as `,_jsx(_components.code,{children:`timestamp`}),` (or the current server time if neither is sent). So the event is treated as “now” for historical rules—no need to send it when the event is real-time.`]})]}),`\n`,_jsx(Note,{title:`eventDate recap`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Omitted`}),` → We set `,_jsx(_components.code,{children:`eventDate = timestamp`}),` (or now). Historical rules use that as the starting point.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Format`}),` → ISO 8601 with timezone: `,_jsx(_components.code,{children:`\"YYYY-MM-DDTHH:mm:ss.sssZ\"`}),` (e.g. `,_jsx(_components.code,{children:`\"2026-01-30T00:00:00.000Z\"`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`When to send`}),` → When the event actually happened on a different date than when you’re sending it (e.g. backfilled or batch events).`]}),`\n`]})}),`\n`,_jsxs(ParamField,{body:`deviceId`,type:`string`,id:`param-device-id`,children:[_jsx(_components.p,{children:`Unique identifier for the device. This should be a stable identifier that persists across sessions.`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"840e89e4d46efd67\"`})]})]}),`\n`,_jsxs(ParamField,{body:`deviceDetails`,type:`object`,id:`param-device-details`,children:[_jsx(_components.p,{children:`Detailed device information. When provided, the device will be automatically registered or updated.`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Structure:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"osName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Android\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"osVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Android 16\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"manufacturer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"samsung\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SM-A156M\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"brand\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"samsung\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"browser\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Chrome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"browserVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"120.0.6099.129\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latitude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-34.6037`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"longitude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-58.3816`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Buenos Aires\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"region\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Buenos Aires\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Argentina\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"countryCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{body:`ipAddress`,type:`string`,id:`param-ip-address`,children:[_jsx(_components.p,{children:`IP address from which the event originated (IPv4 or IPv6).`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"10.40.64.231\"`})]})]}),`\n`,_jsxs(ParamField,{body:`country`,type:`string`,id:`param-country`,children:[_jsx(_components.p,{children:`ISO 3166-1 alpha-2 country code where the event occurred.`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"AR\"`})]})]}),`\n`,_jsx(ParamField,{body:`isVpn`,type:`boolean`,default:`false`,id:`param-is-vpn`,children:_jsx(_components.p,{children:`Whether the connection is through a VPN`})}),`\n`,_jsx(ParamField,{body:`isProxy`,type:`boolean`,default:`false`,id:`param-is-proxy`,children:_jsx(_components.p,{children:`Whether the connection is through a proxy`})}),`\n`,_jsx(ParamField,{body:`isNewDevice`,type:`boolean`,id:`param-is-new-device`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`New device flag`}),` stored on the event (`,_jsx(_components.code,{children:`is_new_device`}),` in the database). See `,_jsxs(_components.a,{href:`#how-isnewdevice-works`,children:[`How `,_jsx(_components.code,{children:`isNewDevice`}),` works`]}),` below.`]})}),`\n`,_jsxs(ParamField,{body:`sessionId`,type:`string`,id:`param-session-id`,children:[_jsxs(_components.p,{children:[`SDK session identifier (`,_jsx(_components.code,{children:`sess_...`}),`, max 64 chars). For organizations with the SDK enabled, an event carrying only a `,_jsx(_components.code,{children:`sessionId`}),` (no entity identifier) is accepted and persisted as an `,_jsx(_components.strong,{children:`anonymous pre-login event`}),`; it is linked to the entity later on the first event that carries both `,_jsx(_components.code,{children:`sessionId`}),` and an entity identifier. Without the SDK enabled, an entity identifier is still required.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"sess_a1b2c3d4\"`})]})]}),`\n`,_jsx(ParamField,{body:`sdkSignals`,type:`object`,id:`param-sdk-signals`,children:_jsxs(_components.p,{children:[`Structured signals emitted by the SDK (kept separate from free-form `,_jsx(_components.code,{children:`metadata`}),`). All fields optional: `,_jsx(_components.code,{children:`sessionId`}),`, `,_jsx(_components.code,{children:`sessionDuration`}),`, `,_jsx(_components.code,{children:`integrityScore`}),` (0–100), `,_jsx(_components.code,{children:`integrityFlags`}),` (`,_jsx(_components.code,{children:`fetchHooked`}),`, `,_jsx(_components.code,{children:`prototypeModified`}),`, `,_jsx(_components.code,{children:`debuggerAttached`}),`, `,_jsx(_components.code,{children:`framingDetected`}),`), and `,_jsx(_components.code,{children:`behavioralSignals`}),` (`,_jsx(_components.code,{children:`keystrokeAvgMs`}),`, `,_jsx(_components.code,{children:`pasteDetected`}),`, `,_jsx(_components.code,{children:`completionTimeMs`}),`, `,_jsx(_components.code,{children:`touchVelocity`}),`).`]})}),`\n`,_jsxs(ParamField,{body:`failedAttemptsCount`,type:`number`,default:`0`,id:`param-failed-attempts-count`,children:[_jsx(_components.p,{children:`Number of failed authentication attempts (for authentication events)`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`3`})]})]}),`\n`,_jsxs(ParamField,{body:`destinationAccountId`,type:`string`,id:`param-destination-account-id`,children:[_jsx(_components.p,{children:`Destination account identifier for transfer events (CBU, CVU, etc.)`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"0170042640000004234411\"`})]})]}),`\n`,_jsxs(ParamField,{body:`destinationCuit`,type:`string`,id:`param-destination-cuit`,children:[_jsx(_components.p,{children:`Destination CUIT for transfer events`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"27281455496\"`})]})]}),`\n`,_jsxs(ParamField,{body:`previousValue`,type:`string`,id:`param-previous-value`,children:[_jsx(_components.p,{children:`Previous value for credential change events. This will be automatically hashed using SHA-256 for security.`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"old_password_hash\"`})]})]}),`\n`,_jsxs(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:[_jsx(_components.p,{children:`Additional event-specific data as key-value pairs. Use this for custom fields specific to your use case.`}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ARS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"concept\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INV-12345\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{body:`userAgent`,type:`string`,id:`param-user-agent`,children:[_jsx(_components.p,{children:`Browser user agent string for web events`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36...\"`})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`how-isnewdevice-works`,children:[`How `,_jsx(_components.code,{children:`isNewDevice`}),` works`]}),`\n`,_jsxs(_components.p,{children:[`The persisted value on each event drives fraud rules (for example `,_jsx(_components.code,{children:`historical.userEvent.newDevice`}),` and filters like `,_jsx(_components.code,{children:`isNewDevice: true`}),` on `,_jsx(_components.code,{children:`user_events`}),`).`]}),`\n`,_jsx(Heading,{level:`3`,id:`priority-your-value-wins-when-you-send-it`,children:`Priority: your value wins when you send it`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request`}),_jsxs(_components.th,{children:[`Persisted `,_jsx(_components.code,{children:`isNewDevice`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`You send `,_jsx(_components.code,{children:`isNewDevice: true`}),` or `,_jsx(_components.code,{children:`false`})]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Exactly what you sent`}),` (gu1 does not override it)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`You omit `,_jsx(_components.code,{children:`isNewDevice`})]}),_jsxs(_components.td,{children:[`gu1 `,_jsx(_components.strong,{children:`computes`}),` a value (see below); defaults to `,_jsx(_components.code,{children:`false`}),` when device data is insufficient`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Use the explicit flag when your app already knows whether the session is on a new device (SDK, local storage, your own device registry). Omit it when you want gu1 to infer it from the device registry.`}),`\n`,_jsxs(Heading,{level:`3`,id:`when-you-omit-isnewdevice-server-side-inference`,children:[`When you omit `,_jsx(_components.code,{children:`isNewDevice`}),` (server-side inference)`]}),`\n`,_jsxs(_components.p,{children:[`gu1 only auto-computes when `,_jsx(_components.strong,{children:`both`}),` are present:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`deviceId`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`deviceDetails`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Flow:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Register or update`}),` the device for the resolved entity (`,_jsx(_components.code,{children:`devices`}),` table).`]}),`\n`,_jsxs(_components.li,{children:[`Set `,_jsx(_components.code,{children:`isNewDevice`}),` to `,_jsx(_components.code,{children:`true`}),` if either:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`No row exists yet for `,_jsx(_components.code,{children:`(organization, entity, deviceId)`}),`, or`]}),`\n`,_jsxs(_components.li,{children:[`The device exists but `,_jsx(_components.code,{children:`firstSeenAt`}),` is within the `,_jsx(_components.strong,{children:`last 5 minutes`}),` (first-seen window).`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Otherwise set `,_jsx(_components.code,{children:`isNewDevice`}),` to `,_jsx(_components.code,{children:`false`}),` (device already known to gu1 for that entity).`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`deviceId`}),` + `,_jsx(_components.code,{children:`deviceDetails`}),` on login and security-sensitive events even when you set `,_jsx(_components.code,{children:`isNewDevice`}),` yourself, so gu1 keeps the device registry up to date for other rules and audits.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body-field-name`,children:`Request body field name`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /events/user`}),` uses `,_jsx(_components.strong,{children:`camelCase`}),` in JSON: `,_jsx(_components.code,{children:`isNewDevice`}),`. The snake_case name `,_jsx(_components.code,{children:`is_new_device`}),` is `,_jsx(_components.strong,{children:`not`}),` read on this endpoint (use camelCase).`]}),`\n`,_jsx(Heading,{level:`3`,id:`examples`,children:`Examples`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Client decides (recommended when you already detect new device):`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LOGIN_SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"taxId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20242455496\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deviceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"840e89e4d46efd67\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isNewDevice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Let gu1 infer (omit the flag; include device payload):`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LOGIN_SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"taxId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20242455496\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deviceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"840e89e4d46efd67\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deviceDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"manufacturer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"samsung\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SM-A156M\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`event-types`,children:`Event Types`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`📋 Choose the most specific event type that matches your use case. Use `,_jsx(_components.code,{children:`OTHER_EVENT`}),` only when no specific type applies. The full list is on `,_jsx(_components.a,{href:`/en/api-reference/events/event-codes`,children:`User event codes`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`authentication-events`,children:`Authentication Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LOGIN_SUCCESS`}),` - Successful login`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LOGIN_FAILED`}),` - Failed login attempt`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LOGOUT`}),` - User logout`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TOKEN_GENERATED`}),` - Authentication token generated`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`credential-change-events`,children:`Credential Change Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PASSWORD_CHANGE`}),` - Password successfully changed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PASSWORD_CHANGE_FAILED`}),` - Failed password change attempt`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMAIL_CHANGE`}),` - Email address changed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PHONE_CHANGE`}),` - Phone number changed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PIN_CHANGE`}),` - PIN changed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`account-management-events`,children:`Account Management Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACCOUNT_LINKED`}),` - Bank account linked`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONTACT_CREATED`}),` - Contact created`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONTACT_DELETED`}),` - Contact deleted`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ADDRESS_CHANGED`}),` - Address updated`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DEVICE_ADDED`}),` - New device added`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DEVICE_DELETED`}),` - Device removed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`email-management-events`,children:`Email Management Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMAIL_CREATED`}),` - Email created`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMAIL_ELIMINATED`}),` - Email eliminated`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`navigation-events`,children:`Navigation Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NAVIGATION`}),` - Page or screen navigation`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`transfer-events`,children:`Transfer Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TRANSFER_SUCCESS`}),` - Successful transfer`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TRANSFER_FAILED`}),` - Failed transfer attempt`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TRANSFER_SCHEDULED`}),` - Transfer scheduled for future`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`balance-events`,children:`Balance Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BALANCE_CHECK`}),` - Account balance checked`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BALANCE_CHECK_FAILED`}),` - Balance check failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`account-access-events`,children:`Account Access Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACCOUNTS_VIEW`}),` - Accounts list viewed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACCOUNTS_VIEW_FAILED`}),` - Accounts view failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`transaction-events`,children:`Transaction Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TRANSACTIONS_VIEW`}),` - Transaction history viewed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TRANSACTIONS_VIEW_FAILED`}),` - Transaction view failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`recipient-events`,children:`Recipient Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SEARCH_RECIPIENTS`}),` - Recipients searched`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SEARCH_RECIPIENTS_FAILED`}),` - Recipients search failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SCHEDULE_RECIPIENT_FAILED`}),` - Recipient scheduling failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`profile-events`,children:`Profile Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PROFILE_VIEW`}),` - User profile viewed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PROFILE_UPDATED`}),` - User profile updated`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`message-events`,children:`Message Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MESSAGES_VIEW`}),` - Messages viewed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MESSAGES_VIEW_FAILED`}),` - Messages view failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`account-holder-events`,children:`Account Holder Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACCOUNT_HOLDERS_VIEW`}),` - Account holders viewed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACCOUNT_HOLDERS_VIEW_FAILED`}),` - Account holders view failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`alias-events`,children:`Alias Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALIAS_VIEW`}),` - Alias viewed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALIAS_VIEW_FAILED`}),` - Alias view failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALIAS_CHANGE`}),` - Alias changed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALIAS_CHANGE_FAILED`}),` - Alias change failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`payment-/-device-events`,children:`Payment / Device Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CARD_ADDED`}),` - Payment card added`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DEVICE_CONNECTED`}),` - Device connected`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`biometric-validation-events`,children:`Biometric Validation Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BIOMETRIC_VALIDATION_SUCCESS`}),` - Biometric validation succeeded`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BIOMETRIC_VALIDATION_ERROR`}),` - Biometric validation failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`sdk-events`,children:`SDK Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SESSION_STARTED`}),` - SDK session beacon (pre-login)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SESSION_IDENTIFIED`}),` - Session bound to an entity (sent with both `,_jsx(_components.code,{children:`sessionId`}),` and an entity identifier)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SCREEN_VIEW`}),` - Screen/navigation tracked by the SDK`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`loan-events`,children:`Loan Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LOAN_REQUEST`}),` - Loan application submitted`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LOAN_APPROVED`}),` - Loan application approved`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LOAN_REJECTED`}),` - Loan application rejected`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`other-events`,children:`Other Events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`OTHER_EVENT`}),` - Custom or generic event`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates if the request was successful`})}),`\n`,_jsxs(ResponseField,{name:`event`,type:`object`,id:`param-event`,children:[_jsx(_components.p,{children:`The created event object`}),_jsx(ResponseField,{name:`event.id`,type:`string`,id:`param-event-id`,children:_jsx(_components.p,{children:`gu1’s internal event UUID`})}),_jsx(ResponseField,{name:`event.eventType`,type:`string`,id:`param-event-event-type`,children:_jsx(_components.p,{children:`Type of event created`})}),_jsx(ResponseField,{name:`event.userId`,type:`string`,id:`param-event-user-id`,children:_jsx(_components.p,{children:`User identifier`})}),_jsx(ResponseField,{name:`event.entityId`,type:`string`,id:`param-event-entity-id`,children:_jsx(_components.p,{children:`Associated entity UUID`})}),_jsx(ResponseField,{name:`event.entityExternalId`,type:`string`,id:`param-event-entity-external-id`,children:_jsx(_components.p,{children:`External entity identifier`})}),_jsx(ResponseField,{name:`event.taxId`,type:`string`,id:`param-event-tax-id`,children:_jsx(_components.p,{children:`Tax identification number`})}),_jsx(ResponseField,{name:`event.timestamp`,type:`string`,id:`param-event-timestamp`,children:_jsx(_components.p,{children:`Event timestamp (ISO 8601)`})}),_jsx(ResponseField,{name:`event.eventDate`,type:`string`,id:`param-event-event-date`,children:_jsx(_components.p,{children:`Business date used by historical rules for time windows (ISO 8601). Equals timestamp when not sent.`})}),_jsx(ResponseField,{name:`event.deviceId`,type:`string`,id:`param-event-device-id`,children:_jsx(_components.p,{children:`Device identifier`})}),_jsx(ResponseField,{name:`event.ipAddress`,type:`string`,id:`param-event-ip-address`,children:_jsx(_components.p,{children:`IP address`})}),_jsx(ResponseField,{name:`event.country`,type:`string`,id:`param-event-country`,children:_jsx(_components.p,{children:`Country code`})}),_jsx(ResponseField,{name:`event.createdAt`,type:`string`,id:`param-event-created-at`,children:_jsx(_components.p,{children:`Event record creation timestamp`})})]}),`\n`,_jsxs(ResponseField,{name:`entity`,type:`object`,id:`param-entity`,children:[_jsx(_components.p,{children:`Entity information (when auto-created or existing)`}),_jsx(ResponseField,{name:`entity.id`,type:`string`,id:`param-entity-id-1`,children:_jsx(_components.p,{children:`Entity UUID`})}),_jsx(ResponseField,{name:`entity.wasCreated`,type:`boolean`,id:`param-entity-was-created`,children:_jsx(_components.p,{children:`Whether the entity was auto-created by this event`})})]}),`\n`,_jsxs(ResponseField,{name:`rulesResult`,type:`object`,id:`param-rules-result`,children:[_jsx(_components.p,{children:`Result of rules execution if the rules engine was triggered for this event. Includes:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`success`}),` (boolean) - Whether rules executed successfully`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`rulesTriggered`}),` (number) - Number of rules that were triggered`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`alerts`}),` (array) - Alerts generated by rules`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`riskScore`}),` (number) - Final calculated risk score`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`decision`}),` (string) - Final decision (APPROVE, REJECT, HOLD, REVIEW_REQUIRED)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`rulesExecutionSummary`}),` (object) - Detailed summary; see below.`]}),`\n`]})]}),`\n`,_jsxs(ResponseField,{name:`rulesExecutionSummary`,type:`object`,id:`param-rules-execution-summary`,children:[_jsxs(_components.p,{children:[`Only present when the rules engine ran for this event. Summary of which rules matched (hit) vs did not match (no hit), executed actions, and total score. See `,_jsx(_components.a,{href:`/en/api-reference/rules-execution-summary`,children:`Rules Execution Summary`}),` for the full structure and a complete example.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`rulesHit`}),` (array) - Rules whose conditions were met. Each item: `,_jsx(_components.strong,{children:`name`}),`, `,_jsx(_components.strong,{children:`description`}),`, `,_jsx(_components.strong,{children:`score`}),`, `,_jsx(_components.strong,{children:`priority`}),`, `,_jsx(_components.strong,{children:`category`}),`, `,_jsx(_components.strong,{children:`status`}),`, `,_jsx(_components.strong,{children:`conditions`}),`, `,_jsx(_components.strong,{children:`actions`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`rulesNoHit`}),` (array) - Rules evaluated but conditions not met. Same structure as rulesHit.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`actionsExecuted`}),` (object) - Aggregated executed actions: `,_jsx(_components.strong,{children:`alerts`}),`, `,_jsx(_components.strong,{children:`suggestion`}),`, `,_jsx(_components.strong,{children:`status`}),`, `,_jsx(_components.strong,{children:`assignedUser`}),`, `,_jsx(_components.strong,{children:`customKeys`}),` (array of strings, optional) — custom action keys from rules that matched (e.g. `,_jsx(_components.code,{children:`require_kyc`}),`, `,_jsx(_components.code,{children:`flag_for_review`}),`); for integrations/workflows.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`totalScore`}),` (number) - Sum of score of all rules that hit (excluding shadow).`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`examples-2`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`login-event`,children:`Login Event`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.gu1.ai/events/user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventType\": \"LOGIN_SUCCESS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"entityExternalId\": \"user_12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"userId\": \"user_12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"deviceId\": \"840e89e4d46efd67\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ipAddress\": \"10.40.64.231\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"country\": \"AR\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"deviceDetails\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platform\": \"android\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"manufacturer\": \"samsung\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"SM-A156M\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"osVersion\": \"Android 16\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`24`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.gu1.ai/events/user'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'LOGIN_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entityExternalId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'user_12345'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'user_12345'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` deviceId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '840e89e4d46efd67'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ipAddress:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '10.40.64.231'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` country:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'AR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` deviceDetails:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` platform:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'android'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` manufacturer:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'samsung'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'SM-A156M'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` osVersion:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Android 16'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`26`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.gu1.ai/events/user'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'eventType'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'LOGIN_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'entityExternalId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'user_12345'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'userId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'user_12345'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'deviceId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'840e89e4d46efd67'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ipAddress'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'10.40.64.231'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'country'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'AR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'deviceDetails'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'platform'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'android'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'manufacturer'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'samsung'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'model'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'SM-A156M'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'osVersion'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Android 16'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(data)`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`transfer-event`,children:`Transfer Event`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.gu1.ai/events/user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventType\": \"TRANSFER_SUCCESS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"entityExternalId\": \"user_12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"destinationAccountId\": \"0170042640000004234411\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"destinationCuit\": \"27281455496\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 5000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currency\": \"ARS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"concept\": \"Payment\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`18`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.gu1.ai/events/user'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'TRANSFER_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entityExternalId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'user_12345'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` destinationAccountId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '0170042640000004234411'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` destinationCuit:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '27281455496'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` metadata:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` currency:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ARS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` concept:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Payment'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`17`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.gu1.ai/events/user'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'eventType'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'TRANSFER_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'entityExternalId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'user_12345'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'destinationAccountId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'0170042640000004234411'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'destinationCuit'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'27281455496'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'metadata'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'amount'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'currency'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ARS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'concept'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Payment'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`auto-create-entity`,children:`Auto-Create Entity`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.gu1.ai/events/user?withAutoEntity=true\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventType\": \"LOGIN_SUCCESS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"taxId\": \"20242455496\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"userId\": \"user_12345\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`12`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.gu1.ai/events/user?withAutoEntity=true'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'LOGIN_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` taxId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '20242455496'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'user_12345'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`11`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.gu1.ai/events/user?withAutoEntity=true'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'eventType'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'LOGIN_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'taxId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'20242455496'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'userId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'user_12345'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-example`,children:`Response Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`57`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`57`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LOGIN_SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entityId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entityExternalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"taxId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20242455496\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-30T14:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deviceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"840e89e4d46efd67\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ipAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10.40.64.231\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-30T14:30:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"wasCreated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesResult\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesTriggered\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alerts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"riskScore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPROVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesExecutionSummary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesHit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Suspicious Login Pattern\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authentication\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"create_alert\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesNoHit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actionsExecuted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alerts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalScore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesExecutionSummary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesHit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Suspicious Login Pattern\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authentication\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"create_alert\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rulesNoHit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actionsExecuted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alerts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalScore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(Heading,{level:`3`,id:`400-bad-request`,children:`400 Bad Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATION_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"At least one entity identifier is required: entityId, entityExternalId, or taxId\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNAUTHORIZED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid or missing API key\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`403-forbidden`,children:`403 Forbidden`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FORBIDDEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Insufficient permissions to create events\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ENTITY_NOT_FOUND\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Entity not found. Use ?withAutoEntity=true to auto-create entities.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`500-internal-server-error`,children:`500 Internal Server Error`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EVENT_CREATE_FAILED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Failed to create event\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsx(Heading,{level:`3`,id:`track-authentication-patterns`,children:`Track Authentication Patterns`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Track successful and failed logins`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'LOGIN_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entityExternalId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` deviceId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` deviceFingerprint`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ipAddress:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` req`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ip`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Failed login with attempt count`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'LOGIN_FAILED'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entityExternalId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` failedAttemptsCount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`monitor-transfer-activity`,children:`Monitor Transfer Activity`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Track transfers for fraud detection`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'TRANSFER_SUCCESS'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entityExternalId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` destinationAccountId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` destinationAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` metadata:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferAmount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` currency:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ARS'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`compliance-audit-trail`,children:`Compliance Audit Trail`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Track all profile changes`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` eventType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PROFILE_UPDATED'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entityExternalId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` metadata:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fieldsChanged:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'email'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'phone'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` previousEmail:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'old@example.com'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` newEmail:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'new@example.com'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsx(Heading,{level:`3`,id:`always-include-timestamps`,children:`Always Include Timestamps`}),`\n`,_jsx(_components.p,{children:`Provide explicit timestamps when events are queued or buffered to maintain accurate chronological ordering.`}),`\n`,_jsx(Heading,{level:`3`,id:`track-both-success-and-failure`,children:`Track Both Success and Failure`}),`\n`,_jsx(_components.p,{children:`Always track both successful and failed events for comprehensive fraud detection and analytics.`}),`\n`,_jsx(Heading,{level:`3`,id:`use-structured-metadata`,children:`Use Structured Metadata`}),`\n`,_jsx(_components.p,{children:`Keep metadata consistent across similar event types to enable better analysis and querying.`}),`\n`,_jsxs(Heading,{level:`3`,id:`device-information-and-isnewdevice`,children:[`Device information and `,_jsx(_components.code,{children:`isNewDevice`})]}),`\n`,_jsxs(_components.p,{children:[`Always include `,_jsx(_components.code,{children:`deviceId`}),` and `,_jsx(_components.code,{children:`deviceDetails`}),` when available so gu1 can maintain the device registry. Set `,_jsx(_components.code,{children:`isNewDevice`}),` explicitly when your integration already classifies new devices; otherwise omit it and let gu1 infer (see `,_jsxs(_components.a,{href:`#how-isnewdevice-works`,children:[`How `,_jsx(_components.code,{children:`isNewDevice`}),` works`]}),`).`]}),`\n`,_jsx(Heading,{level:`3`,id:`handle-auto-creation-carefully`,children:`Handle Auto-Creation Carefully`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`withAutoEntity=true`}),` only when you’re confident the tax ID is valid and you want entities created automatically.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`List Events`,icon:`list`,href:`/en/api-reference/events/list`,children:_jsx(_components.p,{children:`Query events with filters`})}),_jsx(Card,{title:`Event Statistics`,icon:`chart-bar`,href:`/en/api-reference/events/stats`,children:_jsx(_components.p,{children:`Get aggregated statistics`})}),_jsx(Card,{title:`Devices API`,icon:`mobile`,href:`/en/api-reference/devices/overview`,children:_jsx(_components.p,{children:`Learn about device integration`})}),_jsx(Card,{title:`Fraud Rules`,icon:`shield-check`,href:`/en/use-cases/transaction-monitoring/fraud-detection`,children:_jsx(_components.p,{children:`Build rules using event data`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a user event for rules and fraud detection","description":"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.","api":"POST /events/user","href":"/en/api-reference/events/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"How isNewDevice works","slug":"how-isnewdevice-works","depth":2,"children":[{"title":"Priority: your value wins when you send it","slug":"priority-your-value-wins-when-you-send-it","depth":3,"children":[]},{"title":"When you omit isNewDevice (server-side inference)","slug":"when-you-omit-isnewdevice-server-side-inference","depth":3,"children":[]},{"title":"Request body field name","slug":"request-body-field-name","depth":3,"children":[]},{"title":"Examples","slug":"examples","depth":3,"children":[]}]},{"title":"Event Types","slug":"event-types","depth":2,"children":[{"title":"Authentication Events","slug":"authentication-events","depth":3,"children":[]},{"title":"Credential Change Events","slug":"credential-change-events","depth":3,"children":[]},{"title":"Account Management Events","slug":"account-management-events","depth":3,"children":[]},{"title":"Email Management Events","slug":"email-management-events","depth":3,"children":[]},{"title":"Navigation Events","slug":"navigation-events","depth":3,"children":[]},{"title":"Transfer Events","slug":"transfer-events","depth":3,"children":[]},{"title":"Balance Events","slug":"balance-events","depth":3,"children":[]},{"title":"Account Access Events","slug":"account-access-events","depth":3,"children":[]},{"title":"Transaction Events","slug":"transaction-events","depth":3,"children":[]},{"title":"Recipient Events","slug":"recipient-events","depth":3,"children":[]},{"title":"Profile Events","slug":"profile-events","depth":3,"children":[]},{"title":"Message Events","slug":"message-events","depth":3,"children":[]},{"title":"Account Holder Events","slug":"account-holder-events","depth":3,"children":[]},{"title":"Alias Events","slug":"alias-events","depth":3,"children":[]},{"title":"Payment / Device Events","slug":"payment-/-device-events","depth":3,"children":[]},{"title":"Biometric Validation Events","slug":"biometric-validation-events","depth":3,"children":[]},{"title":"SDK Events","slug":"sdk-events","depth":3,"children":[]},{"title":"Loan Events","slug":"loan-events","depth":3,"children":[]},{"title":"Other Events","slug":"other-events","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Examples","slug":"examples-2","depth":2,"children":[{"title":"Login Event","slug":"login-event","depth":3,"children":[]},{"title":"Transfer Event","slug":"transfer-event","depth":3,"children":[]},{"title":"Auto-Create Entity","slug":"auto-create-entity","depth":3,"children":[]}]},{"title":"Response Example","slug":"response-example","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[{"title":"400 Bad Request","slug":"400-bad-request","depth":3,"children":[]},{"title":"401 Unauthorized","slug":"401-unauthorized","depth":3,"children":[]},{"title":"403 Forbidden","slug":"403-forbidden","depth":3,"children":[]},{"title":"404 Not Found","slug":"404-not-found","depth":3,"children":[]},{"title":"500 Internal Server Error","slug":"500-internal-server-error","depth":3,"children":[]}]},{"title":"Use Cases","slug":"use-cases","depth":2,"children":[{"title":"Track Authentication Patterns","slug":"track-authentication-patterns","depth":3,"children":[]},{"title":"Monitor Transfer Activity","slug":"monitor-transfer-activity","depth":3,"children":[]},{"title":"Compliance Audit Trail","slug":"compliance-audit-trail","depth":3,"children":[]}]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[{"title":"Always Include Timestamps","slug":"always-include-timestamps","depth":3,"children":[]},{"title":"Track Both Success and Failure","slug":"track-both-success-and-failure","depth":3,"children":[]},{"title":"Use Structured Metadata","slug":"use-structured-metadata","depth":3,"children":[]},{"title":"Device information and isNewDevice","slug":"device-information-and-isnewdevice","depth":3,"children":[]},{"title":"Handle Auto-Creation Carefully","slug":"handle-auto-creation-carefully","depth":3,"children":[]}]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create a user event for rules and fraud detection","path":"/events/user","servers":[{"url":"http://api.gu1.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"withAutoEntity":{"schema":[{"type":"boolean","description":"Enable automatic entity creation when an entity with the provided `taxId` doesn’t exist. When true, if the event includes a `taxId` and no entity exists with that tax ID, a new person or company entity will be automatically created. Example: `?withAutoEntity=true`"}]}},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"eventType":[{"type":"string","description":"Type of event being tracked. Must be one of the supported event types (see Event Types section below), including authentication, transfers, biometric validation, and more. Example: `\"LOGIN_SUCCESS\"`","required":true}],"userId":[{"type":"string","description":"Your internal user identifier. Used to group events by user across different entities. Example: `\"user_12345\"`"}],"entityId":[{"type":"string","description":"gu1’s entity UUID. Provide this if you have the internal gu1 ID."}],"entityExternalId":[{"type":"string","description":"Your external entity identifier. This is your unique ID for the entity in your system. Example: `\"user_12345\"`"}],"taxId":[{"type":"string","description":"Tax identification number (CPF, CNPJ, CUIT, etc.). When combined with `?withAutoEntity=true` , this will create the entity if it doesn’t exist. Example: `\"20242455496\"`"}],"timestamp":[{"type":"string","description":"When the event occurred in ISO 8601 datetime format. If not provided, defaults to the current server time. Example: `\"2026-01-30T14:30:00Z\"`"}],"eventDate":[{"type":"string","description":"Business date for the event. Used by historical rules as the starting point for time windows (e.g. “last 7 days” is calculated backwards from this date). Format: ISO 8601 datetime string with timezone (e.g. `\"2026-01-30T14:30:00Z\"` or `\"2026-01-30T00:00:00.000Z\"` ). If you don’t send it: The system uses the same value as `timestamp` (or the current server time if neither is sent). So the event is treated as “now” for historical rules—no need to send it when the event is real-time."}],"deviceId":[{"type":"string","description":"Unique identifier for the device. This should be a stable identifier that persists across sessions. Example: `\"840e89e4d46efd67\"`"}],"deviceDetails":[{"type":"object","properties":{},"description":"Detailed device information. When provided, the device will be automatically registered or updated. Structure:"}],"ipAddress":[{"type":"string","description":"IP address from which the event originated (IPv4 or IPv6). Example: `\"10.40.64.231\"`"}],"country":[{"type":"string","description":"ISO 3166-1 alpha-2 country code where the event occurred. Example: `\"AR\"`"}],"isVpn":[{"type":"boolean","description":"Whether the connection is through a VPN"}],"isProxy":[{"type":"boolean","description":"Whether the connection is through a proxy"}],"isNewDevice":[{"type":"boolean","description":"New device flag stored on the event ( `is_new_device` in the database). See How `isNewDevice` works below."}],"sessionId":[{"type":"string","description":"SDK session identifier ( `sess_...` , max 64 chars). For organizations with the SDK enabled, an event carrying only a `sessionId` (no entity identifier) is accepted and persisted as an anonymous pre-login event ; it is linked to the entity later on the first event that carries both `sessionId` and an entity identifier. Without the SDK enabled, an entity identifier is still required. Example: `\"sess_a1b2c3d4\"`"}],"sdkSignals":[{"type":"object","properties":{},"description":"Structured signals emitted by the SDK (kept separate from free-form `metadata` ). All fields optional: `sessionId` , `sessionDuration` , `integrityScore` (0–100), `integrityFlags` ( `fetchHooked` , `prototypeModified` , `debuggerAttached` , `framingDetected` ), and `behavioralSignals` ( `keystrokeAvgMs` , `pasteDetected` , `completionTimeMs` , `touchVelocity` )."}],"failedAttemptsCount":[{"type":"number","description":"Number of failed authentication attempts (for authentication events) Example: `3`"}],"destinationAccountId":[{"type":"string","description":"Destination account identifier for transfer events (CBU, CVU, etc.) Example: `\"0170042640000004234411\"`"}],"destinationCuit":[{"type":"string","description":"Destination CUIT for transfer events Example: `\"27281455496\"`"}],"previousValue":[{"type":"string","description":"Previous value for credential change events. This will be automatically hashed using SHA-256 for security. Example: `\"old_password_hash\"`"}],"metadata":[{"type":"object","properties":{},"description":"Additional event-specific data as key-value pairs. Use this for custom fields specific to your use case. Example:"}],"userAgent":[{"type":"string","description":"Browser user agent string for web events Example: `\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36...\"`"}]}}],"examples":{"example":{"value":{"eventType":"\u003cstring>","userId":"\u003cstring>","entityId":"\u003cstring>","entityExternalId":"\u003cstring>","taxId":"\u003cstring>","timestamp":"\u003cstring>","eventDate":"\u003cstring>","deviceId":"\u003cstring>","deviceDetails":{},"ipAddress":"\u003cstring>","country":"\u003cstring>","isVpn":true,"isProxy":true,"isNewDevice":true,"sessionId":"\u003cstring>","sdkSignals":{},"failedAttemptsCount":123,"destinationAccountId":"\u003cstring>","destinationCuit":"\u003cstring>","previousValue":"\u003cstring>","metadata":{},"userAgent":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Indicates if the request was successful"}],"event":[{"type":"object","properties":{"event.id":[{"type":"string","description":"gu1’s internal event UUID"}],"event.eventType":[{"type":"string","description":"Type of event created"}],"event.userId":[{"type":"string","description":"User identifier"}],"event.entityId":[{"type":"string","description":"Associated entity UUID"}],"event.entityExternalId":[{"type":"string","description":"External entity identifier"}],"event.taxId":[{"type":"string","description":"Tax identification number"}],"event.timestamp":[{"type":"string","description":"Event timestamp (ISO 8601)"}],"event.eventDate":[{"type":"string","description":"Business date used by historical rules for time windows (ISO 8601). Equals timestamp when not sent."}],"event.deviceId":[{"type":"string","description":"Device identifier"}],"event.ipAddress":[{"type":"string","description":"IP address"}],"event.country":[{"type":"string","description":"Country code"}],"event.createdAt":[{"type":"string","description":"Event record creation timestamp"}]},"description":"The created event object"}],"entity":[{"type":"object","properties":{"entity.id":[{"type":"string","description":"Entity UUID"}],"entity.wasCreated":[{"type":"boolean","description":"Whether the entity was auto-created by this event"}]},"description":"Entity information (when auto-created or existing)"}],"rulesResult":[{"type":"object","properties":{},"description":"Result of rules execution if the rules engine was triggered for this event. Includes: success (boolean) - Whether rules executed successfully rulesTriggered (number) - Number of rules that were triggered alerts (array) - Alerts generated by rules riskScore (number) - Final calculated risk score decision (string) - Final decision (APPROVE, REJECT, HOLD, REVIEW_REQUIRED) rulesExecutionSummary (object) - Detailed summary; see below."}],"rulesExecutionSummary":[{"type":"object","properties":{},"description":"Only present when the rules engine ran for this event. Summary of which rules matched (hit) vs did not match (no hit), executed actions, and total score. See Rules Execution Summary for the full structure and a complete example. rulesHit (array) - Rules whose conditions were met. Each item: name , description , score , priority , category , status , conditions , actions . rulesNoHit (array) - Rules evaluated but conditions not met. Same structure as rulesHit. actionsExecuted (object) - Aggregated executed actions: alerts , suggestion , status , assignedUser , customKeys (array of strings, optional) — custom action keys from rules that matched (e.g. `require_kyc` , `flag_for_review` ); for integrations/workflows. totalScore (number) - Sum of score of all rules that hit (excluding shadow)."}]}}],"examples":{"example":{"value":{"success":true,"event":{"event.id":"\u003cstring>","event.eventType":"\u003cstring>","event.userId":"\u003cstring>","event.entityId":"\u003cstring>","event.entityExternalId":"\u003cstring>","event.taxId":"\u003cstring>","event.timestamp":"\u003cstring>","event.eventDate":"\u003cstring>","event.deviceId":"\u003cstring>","event.ipAddress":"\u003cstring>","event.country":"\u003cstring>","event.createdAt":"\u003cstring>"},"entity":{"entity.id":"\u003cstring>","entity.wasCreated":true},"rulesResult":{},"rulesExecutionSummary":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"geno-f35946c5","siteName":"gu1","title":"Create a user event for rules and fraud detection - gu1","navMaps":{"firstHrefInVersion":{"🇺🇸 EN":{"href":"/en/api-reference/events/create","matchLevel":0},"🇪🇸 ES":{"href":"/es/api-reference/events/create","matchLevel":1},"🇧🇷 PT":{"href":"/pt/api-reference/events/create","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T13:05:26.015Z","originalFileLocation":"en/api-reference/events/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.\">\u003cmeta data-mint-head name=\"application-name\" content=\"gu1\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a user event for rules and fraud detection - gu1\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"gu1\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gu1.ai/en/api-reference/events/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://geno-f35946c5.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Create+a+user+event+for+rules+and+fraud+detection\u0026amp;description=Create+a+user+event+for+fraud+detection+and+rule+validation+%E2%80%94+for+user+behavior+tracking+and+rule-based+fraud+detection+in+gu1%2C+with+examples+for+create+use.\u0026amp;theme=019d528ab7f0e9ad1ddd5fb8\u0026amp;signature=b6a8c5e5c656d9d3d39423b07299b57c2b81ea14556340bd0cc2c5bc95ca4cfa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a user event for rules and fraud detection - gu1\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://geno-f35946c5.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Create+a+user+event+for+rules+and+fraud+detection\u0026amp;description=Create+a+user+event+for+fraud+detection+and+rule+validation+%E2%80%94+for+user+behavior+tracking+and+rule-based+fraud+detection+in+gu1%2C+with+examples+for+create+use.\u0026amp;theme=019d528ab7f0e9ad1ddd5fb8\u0026amp;signature=b6a8c5e5c656d9d3d39423b07299b57c2b81ea14556340bd0cc2c5bc95ca4cfa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/geno-f35946c5/72Ha_ftD-G4ZiDGf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"gu1\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gu1.ai/en/api-reference/events/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/events/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gu1.ai/#organization\",\"name\":\"gu1\",\"url\":\"https://docs.gu1.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/geno-f35946c5/u95feZdjOS0TUwM0/logo/light.svg?fit=max\u0026auto=format\u0026n=u95feZdjOS0TUwM0\u0026q=85\u0026s=2538da257ffd4de46bd5e7c5a7a70349\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gu1.ai#website\",\"name\":\"gu1\",\"url\":\"https://docs.gu1.ai\",\"publisher\":{\"@id\":\"https://docs.gu1.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gu1.ai/en/api-reference/events/create#webpage\",\"url\":\"https://docs.gu1.ai/en/api-reference/events/create\",\"name\":\"Create a user event for rules and fraud detection\",\"description\":\"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.\",\"dateModified\":\"2026-10-19T13:05:26.015Z\",\"isPartOf\":{\"@id\":\"https://docs.gu1.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gu1.ai/en/api-reference/events/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gu1.ai/en/api-reference/events/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Events\",\"item\":\"https://docs.gu1.ai/en/api-reference/events/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a user event for rules and fraud detection\",\"item\":\"https://docs.gu1.ai/en/api-reference/events/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gu1.ai/en/api-reference/events/create#apireference\",\"headline\":\"Create a user event for rules and fraud detection\",\"name\":\"Create a user event for rules and fraud detection\",\"description\":\"Create a user event for fraud detection and rule validation — for user behavior tracking and rule-based fraud detection in gu1, with examples for create use.\",\"url\":\"https://docs.gu1.ai/en/api-reference/events/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gu1.ai/en/api-reference/events/create#webpage\"},\"dateModified\":\"2026-10-19T13:05:26.015Z\",\"publisher\":{\"@id\":\"https://docs.gu1.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gu1.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"gu1\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"gu1","nav":{"global":null,"versions":[{"version":"🇺🇸 EN","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to gu1","href":"/en/introduction"},{"title":"Quickstart: KYB Risk Analysis in 5 Minutes","href":"/en/quickstart"},{"title":"Changelog","icon":"clock-rotate-left","href":"/en/changelog"},{"title":"API Authentication with Bearer Keys","href":"/en/api-reference/authentication"},{"title":"Production \u0026 Sandbox Environments","href":"/en/api-reference/environments"},{"title":"Reactivate an onboarding request","href":"/en/api-reference/onboarding/document-reactivation"},{"title":"Dashboard sessions (one device at a time)","href":"/en/dashboard-session-policy"}]},{"group":"SDK","pages":[{"title":"Quickstart — React Native SDK","href":"/en/sdk/quickstart"},{"title":"Quickstart — Web SDK","href":"/en/sdk/quickstart-web"}]},{"group":"Use Cases","pages":[{"group":"Know Your Customer (KYC)","pages":[{"title":"Complete Person (KYC) Flow","href":"/en/use-cases/kyc/complete-flow"},{"title":"KYC API Overview","href":"/en/use-cases/kyc/overview"},{"title":"Hosted Onboarding Page","href":"/en/use-cases/kyc/hosted-page"},{"title":"Client-Side Integration Guide","href":"/en/use-cases/kyc/client-integration"},{"title":"Webhook Integration","href":"/en/use-cases/kyc/webhook-integration"},{"group":"Onboarding playbooks","pages":[{"title":"Automatic Person Onboarding with Risk Assessment","href":"/en/use-cases/onboarding/person-automatic-with-risk-matrix"},{"title":"Automatic Company Onboarding with Risk Assessment","href":"/en/use-cases/onboarding/company-automatic-with-risk-matrix"}]},{"group":"API Reference","pages":[{"group":"Session-based validation","pages":[{"title":"Create KYC Validation","api":"POST /api/kyc/validations","href":"/en/use-cases/kyc/create-validation"},{"title":"Get KYC validation media","api":"GET /api/kyc/validations/{id}/media","href":"/en/use-cases/kyc/validation-media"},{"title":"Sandbox mock data","href":"/en/use-cases/kyc/sandbox-mock-data"},{"title":"Get KYC Verification URL","api":"GET /api/kyc/validations/{id}","href":"/en/use-cases/kyc/get-kyc-url"},{"title":"Get Current KYC Validation","api":"GET /api/kyc/entities/{entityId}/current","href":"/en/use-cases/kyc/current-validation"},{"title":"List KYC Validations for Entity","api":"GET /api/kyc/entities/{entityId}/validations","href":"/en/use-cases/kyc/list-validations"},{"title":"Check Verification Status","api":"GET /api/kyc/validations/{id}","href":"/en/use-cases/kyc/check-status"},{"title":"Sync KYC Validation","api":"POST /api/kyc/validations/{id}/sync","href":"/en/use-cases/kyc/sync-validation"},{"title":"Approve KYC Validation","api":"POST /api/kyc/validations/{id}/approve","href":"/en/use-cases/kyc/approve-validation"},{"title":"Reject KYC Validation","api":"POST /api/kyc/validations/{id}/reject","href":"/en/use-cases/kyc/reject-validation"},{"title":"Cancel KYC Validation","api":"DELETE /api/kyc/validations/{id}/cancel","href":"/en/use-cases/kyc/cancel-validation"}]},{"group":"Face Match","pages":[{"title":"Face Match (Document + Selfie)","api":"POST /api/kyc/face-match","href":"/en/use-cases/kyc/face-match"},{"title":"Get Face Match Verification","api":"GET /api/kyc/face-match/verifications/{id}","href":"/en/use-cases/kyc/get-face-match-verification"},{"title":"Get Face Match images","api":"GET /api/kyc/face-match/verifications/{id}/document-image","href":"/en/use-cases/kyc/face-match-images"}]},{"group":"Biometric","pages":[{"title":"Embedded Biometric Session","api":"POST /api/kyc/biometric/sessions","href":"/en/use-cases/kyc/embedded-biometric"},{"title":"Get Current Biometric Session","api":"GET /api/kyc/biometric/entities/{entityId}/current","href":"/en/use-cases/kyc/current-biometric-session"},{"title":"Biometric Check","api":"POST /api/kyc/biometric","href":"/en/use-cases/kyc/biometric"}]},{"group":"ID Verification","pages":[{"title":"ID Verification (Document Front/Back)","api":"POST /api/kyc/id-verification","href":"/en/use-cases/kyc/id-verification"},{"title":"Get ID Verification (List \u0026 Single)","api":"GET /api/kyc/id-verification/verifications","href":"/en/use-cases/kyc/get-id-verification-verification"},{"title":"Get ID Verification images","api":"GET /api/kyc/id-verification/verifications/{id}/document-front-image","href":"/en/use-cases/kyc/id-verification-images"}]}]},{"group":"Custom configuration","pages":[{"title":"Custom Configuration","href":"/en/use-cases/kyc/custom-configuration"},{"title":"KYC Warning Risk Codes","href":"/en/use-cases/kyc/warning-risk-codes"}]}]},{"group":"Know Your Business (KYB)","pages":[{"title":"Complete Company (KYB) Flow","href":"/en/use-cases/kyb/complete-flow"},{"title":"KYB Overview","href":"/en/use-cases/kyb/overview"},{"title":"KYB Workflow","href":"/en/use-cases/kyb/workflow"},{"title":"KYB Data Requirements","href":"/en/use-cases/kyb/data-requirements"},{"title":"KYB Complete Example","href":"/en/use-cases/kyb/example"}]},{"group":"Transaction Monitoring","pages":[{"title":"Complete Transaction Monitoring Flow","href":"/en/use-cases/transaction-monitoring/complete-flow"},{"title":"Transaction Monitoring","href":"/en/use-cases/transaction-monitoring/overview"},{"title":"Rules Configuration","href":"/en/use-cases/transaction-monitoring/rules-configuration"},{"title":"Fraud Detection","href":"/en/use-cases/transaction-monitoring/fraud-detection"},{"title":"AML Monitoring","href":"/en/use-cases/transaction-monitoring/aml-monitoring"},{"title":"Merchant Monitoring","href":"/en/use-cases/transaction-monitoring/merchant-monitoring"},{"group":"API Reference","pages":[{"title":"Create Transaction Endpoint for Monitoring","api":"POST /transactions","href":"/en/use-cases/transaction-monitoring/api-reference"},{"title":"Change Transaction Status","api":"PATCH /transactions/:id/changeStatus","href":"/en/use-cases/transaction-monitoring/change-status-api"}]}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","href":"/en/webhooks/overview"},{"title":"Webhook Configuration","href":"/en/webhooks/configuration"},{"title":"Webhook Security","href":"/en/webhooks/security"},{"group":"Event Types","pages":[{"title":"Entity Webhook Events","href":"/en/webhooks/events/entity-events"},{"title":"KYC Webhook Events","href":"/en/webhooks/events/kyc-events"},{"title":"Biometric Session Webhook Events","href":"/en/webhooks/events/biometric-events"},{"title":"Transaction Webhook Events","href":"/en/webhooks/events/transaction-events"},{"title":"Rule Webhook Events","href":"/en/webhooks/events/rule-events"},{"title":"Risk Analysis Webhook Events","href":"/en/webhooks/events/risk-analysis-events"},{"title":"Security \u0026 IAM Webhook Events","href":"/en/webhooks/events/security-events"}]}]},{"group":"Workflows","pages":[{"title":"Workflows \u0026 automations","href":"/en/workflows/overview"},{"group":"Guide","pages":[{"title":"Triggers","href":"/en/workflows/triggers"},{"title":"Actions","href":"/en/workflows/actions"},{"title":"Synergy","href":"/en/workflows/synergy"},{"title":"Context and standby","href":"/en/workflows/context-and-standby"},{"title":"Building flows","href":"/en/workflows/building-flows"},{"title":"Rules and workflows","href":"/en/workflows/rules-and-workflows"}]},{"group":"API Reference","pages":[{"title":"List automations","api":"GET /automations","href":"/en/api-reference/automations/list-automations"},{"title":"Get automation","api":"GET /automations/{id}","href":"/en/api-reference/automations/get-automation"},{"title":"Create automation","api":"POST /automations","href":"/en/api-reference/automations/create-automation"},{"title":"Update automation","api":"PUT /automations/{id}","href":"/en/api-reference/automations/update-automation"},{"title":"Archive automation","api":"DELETE /automations/{id}","href":"/en/api-reference/automations/archive-automation"},{"title":"Restore automation","api":"POST /automations/{id}/restore","href":"/en/api-reference/automations/restore-automation"},{"title":"Toggle automation","api":"POST /automations/{id}/toggle","href":"/en/api-reference/automations/toggle-automation"},{"title":"List templates","api":"GET /automations/templates","href":"/en/api-reference/automations/templates"},{"title":"Execute automation (test)","api":"POST /automations/{id}/execute","href":"/en/api-reference/automations/execute-automation"},{"title":"Run automation (manual API)","api":"POST /automations/{id}/run","href":"/en/api-reference/automations/run-automation"},{"title":"List waiting executions","api":"GET /automations/waiting-executions","href":"/en/api-reference/automations/waiting-executions"},{"title":"Continue execution (standby)","api":"POST /automations/executions/{executionId}/continue","href":"/en/api-reference/automations/continue-execution"},{"title":"Cancel execution (standby)","api":"POST /automations/executions/{executionId}/cancel","href":"/en/api-reference/automations/cancel-execution"},{"title":"Get execution context (waiting)","api":"GET /automations/executions/{executionId}/context","href":"/en/api-reference/automations/execution-context"},{"title":"List executions","api":"GET /automations/{id}/executions","href":"/en/api-reference/automations/list-executions"}]}]},{"group":"Monitoring (entities)","pages":[{"title":"Entity monitoring","href":"/en/monitoring/overview"},{"group":"API Reference","pages":[{"title":"Get entity monitoring status","api":"GET /entities/{id}/monitoring","href":"/en/monitoring/api-reference/get-entity-monitoring"},{"title":"Get entity monitoring history","api":"GET /entities/{id}/monitoring/history","href":"/en/monitoring/api-reference/get-entity-monitoring-history"},{"title":"Enable or disable monitoring by entity and integration","api":"PATCH /entities/toggle-status-monitoring","href":"/en/monitoring/api-reference/patch-toggle-status-monitoring"}]}]},{"group":"Person","pages":[{"title":"Entities Overview","href":"/en/api-reference/entities/overview"},{"title":"Entity Types","href":"/en/api-reference/entities/entity-types"},{"title":"Country Requirements","href":"/en/api-reference/entities/country-requirements"},{"title":"Tax ID Formats by Country","href":"/en/api-reference/entities/tax-id-formats"},{"group":"API Reference","pages":[{"title":"Create a person entity","api":"POST /entities","href":"/en/api-reference/person/create"},{"title":"Create a person automatically with enrichment","api":"POST /entities/automatic","href":"/en/api-reference/person/create-automatic"},{"title":"Create an entity automatically with enrichment","api":"POST /entities/automatic","href":"/en/api-reference/entities/create-automatic"},{"title":"Get a person by ID","api":"GET /entities/{id}","href":"/en/api-reference/person/get"},{"title":"List persons","api":"GET /entities","href":"/en/api-reference/person/list"},{"title":"Update a person entity","api":"PATCH /entities/{id}","href":"/en/api-reference/person/update"},{"title":"Update a person by external ID","api":"PATCH /entities/by-external-id/:externalId","href":"/en/api-reference/person/update-by-external-id"},{"title":"Change person external ID","api":"POST /entities/change-external-id","href":"/en/api-reference/person/change-external-id"},{"title":"Upsert a person entity","api":"PUT /entities/upsert","href":"/en/api-reference/person/upsert"},{"title":"Materialize relationships","api":"POST /entities/{entityId}/relationships/materialize","href":"/en/api-reference/entities/materialize-relationships"},{"title":"Get materialized shareholders","api":"GET /entities/{id}/shareholders","href":"/en/api-reference/entities/shareholders"},{"title":"Entity accounts","api":"GET /entities/{id}/accounts","href":"/en/api-reference/entities/accounts"},{"title":"List entity country activations","api":"GET /entities/{id}/country-activations","href":"/en/api-reference/entities/country-activations-list"},{"title":"Update entity country activation","api":"PATCH /entities/{id}/country-activations/{countryCode}","href":"/en/api-reference/entities/country-activations-update"},{"title":"Update entity attributes","api":"PATCH /entities/{id}/attributes","href":"/en/api-reference/entities/attributes-update"},{"title":"Refresh Entity","api":"POST /entities/{entityId}/refresh","href":"/en/api-reference/entities/refresh"},{"title":"Analyze Entity","api":"POST /entities/{entityId}/analyze","href":"/en/api-reference/entities/analyze"},{"title":"Email entity PDF report","api":"POST /entities/{id}/report-export/email","href":"/en/api-reference/entities/report-export-email"}]},{"group":"Provider Codes","pages":[{"title":"Person Provider Codes","href":"/en/api-reference/integrations/person-provider-codes"}]}]},{"group":"Messaging","pages":[{"title":"Messaging overview","href":"/en/api-reference/messaging/overview"},{"group":"API Reference","pages":[{"title":"Send email","api":"POST /marketplace/messaging/send-email","href":"/en/api-reference/messaging/send-email"},{"title":"Send SMS","api":"POST /marketplace/messaging/send-sms","href":"/en/api-reference/messaging/send-sms"}]}]},{"group":"Company","pages":[{"title":"Entities Overview","href":"/en/api-reference/entities/overview"},{"title":"Country Requirements","href":"/en/api-reference/entities/country-requirements"},{"title":"Tax ID Formats by Country","href":"/en/api-reference/entities/tax-id-formats"},{"group":"API Reference","pages":[{"title":"Create a company entity","api":"POST /entities","href":"/en/api-reference/company/create"},{"title":"Create a company automatically with enrichment","api":"POST /entities/automatic","href":"/en/api-reference/company/create-automatic"},{"title":"Create an entity automatically with enrichment","api":"POST /entities/automatic","href":"/en/api-reference/entities/create-automatic"},{"title":"Get a company by ID","api":"GET /entities/{id}","href":"/en/api-reference/company/get"},{"title":"List companies","api":"GET /entities","href":"/en/api-reference/company/list"},{"title":"Update a company entity","api":"PATCH /entities/{id}","href":"/en/api-reference/company/update"},{"title":"Update a company by external ID","api":"PATCH /entities/by-external-id/:externalId","href":"/en/api-reference/company/update-by-external-id"},{"title":"Change company external ID","api":"POST /entities/change-external-id","href":"/en/api-reference/company/change-external-id"},{"title":"Upsert a company entity","api":"PUT /entities/upsert","href":"/en/api-reference/company/upsert"},{"title":"Materialize relationships","api":"POST /entities/{entityId}/relationships/materialize","href":"/en/api-reference/entities/materialize-relationships"},{"title":"Get materialized shareholders","api":"GET /entities/{id}/shareholders","href":"/en/api-reference/entities/shareholders"},{"title":"Entity accounts","api":"GET /entities/{id}/accounts","href":"/en/api-reference/entities/accounts"},{"title":"List entity country activations","api":"GET /entities/{id}/country-activations","href":"/en/api-reference/entities/country-activations-list"},{"title":"Update entity country activation","api":"PATCH /entities/{id}/country-activations/{countryCode}","href":"/en/api-reference/entities/country-activations-update"},{"title":"Update entity attributes","api":"PATCH /entities/{id}/attributes","href":"/en/api-reference/entities/attributes-update"},{"title":"Refresh Entity","api":"POST /entities/{entityId}/refresh","href":"/en/api-reference/entities/refresh"},{"title":"Analyze Entity","api":"POST /entities/{entityId}/analyze","href":"/en/api-reference/entities/analyze"},{"title":"Email entity PDF report","api":"POST /entities/{id}/report-export/email","href":"/en/api-reference/entities/report-export-email"}]},{"group":"Provider Codes","pages":[{"title":"Company Provider Codes","href":"/en/api-reference/integrations/company-provider-codes"}]}]},{"group":"Transactions","pages":[{"group":"API Reference","pages":[{"title":"Create Transaction","api":"POST /transactions","href":"/en/api-reference/transactions/create"},{"title":"List transactions","api":"GET /transactions","href":"/en/api-reference/transactions/list"},{"title":"Get Transaction","api":"GET /transactions/{id}","href":"/en/api-reference/transactions/get"},{"title":"Update Transaction","api":"PATCH /transactions/{id}","href":"/en/api-reference/transactions/update"},{"title":"Report Transaction Risk","api":"POST /transactions/{id}/confirm-risk","href":"/en/api-reference/transactions/report-risk"},{"title":"Create Batch Transactions","api":"POST /transactions/batch","href":"/en/api-reference/transactions/create-batch"},{"title":"Currencies with automatic conversion","href":"/en/api-reference/transactions/currency-conversion"},{"title":"Change Transaction Status","api":"PATCH /transactions/:id/changeStatus","href":"/en/use-cases/transaction-monitoring/change-status-api"},{"title":"Transaction Reason Enum","href":"/en/api-reference/transactions/reason-enum"},{"title":"Transaction Time Zone Enum","href":"/en/api-reference/transactions/time-zone-enum"},{"title":"Payment Details Schema","href":"/en/api-reference/transactions/payment-details-schema"},{"title":"Rules Execution Summary","href":"/en/api-reference/rules-execution-summary"},{"title":"Materialize relationships","api":"POST /entities/{entityId}/relationships/materialize","href":"/en/api-reference/entities/materialize-relationships"},{"title":"Get materialized shareholders","api":"GET /entities/{id}/shareholders","href":"/en/api-reference/entities/shareholders"},{"title":"List entity country activations","api":"GET /entities/{id}/country-activations","href":"/en/api-reference/entities/country-activations-list"},{"title":"Update entity country activation","api":"PATCH /entities/{id}/country-activations/{countryCode}","href":"/en/api-reference/entities/country-activations-update"},{"title":"Update entity attributes","api":"PATCH /entities/{id}/attributes","href":"/en/api-reference/entities/attributes-update"},{"title":"Refresh Entity","api":"POST /entities/{entityId}/refresh","href":"/en/api-reference/entities/refresh"},{"title":"Analyze Entity","api":"POST /entities/{entityId}/analyze","href":"/en/api-reference/entities/analyze"}]}]},{"group":"Devices","pages":[{"title":"Devices API overview","href":"/en/api-reference/devices/overview"},{"group":"API Reference","pages":[{"title":"Register a device for an entity","api":"POST /devices/entity/{entityId}","href":"/en/api-reference/devices/create"},{"title":"List devices for an entity","api":"GET /devices/entity/{entityId}","href":"/en/api-reference/devices/list"}]}]},{"group":"Events","pages":[{"title":"User events API overview","href":"/en/api-reference/events/overview"},{"title":"User event codes","description":"Closed eventType list for user events: what each code means and when to send it.","href":"/en/api-reference/events/event-codes"},{"group":"API Reference","pages":[{"title":"Create a user event for rules and fraud detection","api":"POST /events/user","href":"/en/api-reference/events/create"},{"title":"List user events","description":"Query user events with advanced filters — for user behavior tracking and rule-based fraud detection in gu1, with examples for list use cases.","api":"GET /events/user","href":"/en/api-reference/events/list"},{"title":"Statistics","api":"GET /events/user/stats","href":"/en/api-reference/events/stats"},{"title":"List by Entity","api":"GET /events/user/entity/{entityId}","href":"/en/api-reference/events/list-by-entity"},{"title":"Has events by entity","api":"GET /events/user/entity/has-events","href":"/en/api-reference/events/has-events-by-entity"}]}]},{"group":"Know Your Customer (KYC)","pages":[{"group":"API Reference","pages":[{"group":"Session-based validation","pages":[{"title":"Create KYC Validation","api":"POST /api/kyc/validations","href":"/en/use-cases/kyc/create-validation"},{"title":"Get KYC validation media","api":"GET /api/kyc/validations/{id}/media","href":"/en/use-cases/kyc/validation-media"},{"title":"Sandbox mock data","href":"/en/use-cases/kyc/sandbox-mock-data"},{"title":"Get KYC Verification URL","api":"GET /api/kyc/validations/{id}","href":"/en/use-cases/kyc/get-kyc-url"},{"title":"Get Current KYC Validation","api":"GET /api/kyc/entities/{entityId}/current","href":"/en/use-cases/kyc/current-validation"},{"title":"List KYC Validations for Entity","api":"GET /api/kyc/entities/{entityId}/validations","href":"/en/use-cases/kyc/list-validations"},{"title":"Check Verification Status","api":"GET /api/kyc/validations/{id}","href":"/en/use-cases/kyc/check-status"},{"title":"Sync KYC Validation","api":"POST /api/kyc/validations/{id}/sync","href":"/en/use-cases/kyc/sync-validation"},{"title":"Approve KYC Validation","api":"POST /api/kyc/validations/{id}/approve","href":"/en/use-cases/kyc/approve-validation"},{"title":"Reject KYC Validation","api":"POST /api/kyc/validations/{id}/reject","href":"/en/use-cases/kyc/reject-validation"},{"title":"Cancel KYC Validation","api":"DELETE /api/kyc/validations/{id}/cancel","href":"/en/use-cases/kyc/cancel-validation"}]},{"group":"Face Match","pages":[{"title":"Face Match (Document + Selfie)","api":"POST /api/kyc/face-match","href":"/en/use-cases/kyc/face-match"},{"title":"Get Face Match Verification","api":"GET /api/kyc/face-match/verifications/{id}","href":"/en/use-cases/kyc/get-face-match-verification"},{"title":"Get Face Match images","api":"GET /api/kyc/face-match/verifications/{id}/document-image","href":"/en/use-cases/kyc/face-match-images"}]},{"group":"Biometric","pages":[{"title":"Embedded Biometric Session","api":"POST /api/kyc/biometric/sessions","href":"/en/use-cases/kyc/embedded-biometric"},{"title":"Get Current Biometric Session","api":"GET /api/kyc/biometric/entities/{entityId}/current","href":"/en/use-cases/kyc/current-biometric-session"},{"title":"Biometric Check","api":"POST /api/kyc/biometric","href":"/en/use-cases/kyc/biometric"}]},{"group":"ID Verification","pages":[{"title":"ID Verification (Document Front/Back)","api":"POST /api/kyc/id-verification","href":"/en/use-cases/kyc/id-verification"},{"title":"Get ID Verification (List \u0026 Single)","api":"GET /api/kyc/id-verification/verifications","href":"/en/use-cases/kyc/get-id-verification-verification"},{"title":"Get ID Verification images","api":"GET /api/kyc/id-verification/verifications/{id}/document-front-image","href":"/en/use-cases/kyc/id-verification-images"}]}]},{"group":"Custom configuration","pages":[{"title":"Custom Configuration","href":"/en/use-cases/kyc/custom-configuration"},{"title":"KYC Warning Risk Codes","href":"/en/use-cases/kyc/warning-risk-codes"}]}]},{"group":"Payment Methods","pages":[{"title":"Payment Methods Overview","href":"/en/api-reference/payment-methods/overview"},{"group":"API Reference","pages":[{"title":"Create Payment Method","api":"POST /entities","href":"/en/api-reference/payment-methods/create"},{"title":"Get Payment Method","api":"GET /entities/{id}","href":"/en/api-reference/payment-methods/get"},{"title":"List Payment Methods","api":"GET /entities","href":"/en/api-reference/payment-methods/list"},{"title":"Update Payment Method","api":"PATCH /entities/{id}","href":"/en/api-reference/payment-methods/update"},{"title":"Materialize relationships","api":"POST /entities/{entityId}/relationships/materialize","href":"/en/api-reference/entities/materialize-relationships"},{"title":"Get materialized shareholders","api":"GET /entities/{id}/shareholders","href":"/en/api-reference/entities/shareholders"},{"title":"List entity country activations","api":"GET /entities/{id}/country-activations","href":"/en/api-reference/entities/country-activations-list"},{"title":"Update entity country activation","api":"PATCH /entities/{id}/country-activations/{countryCode}","href":"/en/api-reference/entities/country-activations-update"},{"title":"Update entity attributes","api":"PATCH /entities/{id}/attributes","href":"/en/api-reference/entities/attributes-update"},{"title":"Refresh Entity","api":"POST /entities/{entityId}/refresh","href":"/en/api-reference/entities/refresh"},{"title":"Analyze Entity","api":"POST /entities/{entityId}/analyze","href":"/en/api-reference/entities/analyze"}]}]},{"group":"Rules","pages":[{"group":"API Reference","pages":[{"title":"Create Rule","api":"POST /rules","href":"/en/api-reference/rules/create"},{"title":"Get Rule","api":"GET /rules/{id}","href":"/en/api-reference/rules/get"},{"title":"List Rules","api":"GET /rules","href":"/en/api-reference/rules/list"},{"title":"Update Rule","api":"PATCH /rules/{id}","href":"/en/api-reference/rules/update"},{"title":"Execute Rule","api":"POST /rules/{ruleId}/execute","href":"/en/api-reference/rules/execute"},{"title":"Condition Fields Reference","href":"/en/api-reference/rules/conditions"}]}]},{"group":"Custom lists","pages":[{"title":"Custom lists (data lists)","href":"/en/api-reference/data-lists/overview"},{"group":"API Reference","pages":[{"title":"Create data list","api":"POST /data-lists","href":"/en/api-reference/data-lists/create"},{"title":"List data lists","api":"GET /data-lists","href":"/en/api-reference/data-lists/list"},{"title":"Get data list by id or lists by type","api":"GET /data-lists/{typeOrId}","href":"/en/api-reference/data-lists/get"},{"title":"Update data list","api":"PATCH /data-lists/{id}","href":"/en/api-reference/data-lists/update"},{"title":"Update data list status","api":"PATCH /data-lists/{id}/status","href":"/en/api-reference/data-lists/update-status"},{"title":"Delete data list","api":"DELETE /data-lists/{id}","href":"/en/api-reference/data-lists/delete"},{"title":"Add items to list","api":"POST /data-lists/{id}/items","href":"/en/api-reference/data-lists/add-items"},{"title":"Bulk import list items","api":"POST /data-lists/{id}/items/bulk","href":"/en/api-reference/data-lists/bulk-import-items"},{"title":"Add items by list type (legacy shortcut)","api":"POST /data-lists/{type}/items","href":"/en/api-reference/data-lists/add-items-by-type"},{"title":"List items in a data list","api":"GET /data-lists/{id}/items","href":"/en/api-reference/data-lists/list-items"},{"title":"Find items by value in a list","api":"POST /data-lists/{id}/items/find","href":"/en/api-reference/data-lists/find-items"},{"title":"Update list item","api":"PATCH /data-lists/{id}/items/{itemId}","href":"/en/api-reference/data-lists/update-item"},{"title":"Delete list item","api":"DELETE /data-lists/{id}/items/{itemId}","href":"/en/api-reference/data-lists/delete-item"},{"title":"Check value in lists by type","api":"POST /data-lists/{type}/check","href":"/en/api-reference/data-lists/check-value"},{"title":"Bulk check values","api":"POST /data-lists/bulk-check","href":"/en/api-reference/data-lists/bulk-check"},{"title":"Get data list statistics","api":"GET /data-lists/{id}/stats","href":"/en/api-reference/data-lists/stats"},{"title":"List itemData keys","api":"GET /data-lists/{id}/item-data-keys","href":"/en/api-reference/data-lists/item-data-keys"},{"title":"Marketplace lists for rules","api":"GET /data-lists/marketplace-lists-for-rules","href":"/en/api-reference/data-lists/marketplace-lists-for-rules"}]}]},{"group":"Risk Matrix","pages":[{"group":"API Reference","pages":[{"title":"List Risk Matrices","api":"GET /risk-matrices","href":"/en/api-reference/risk-matrix/list"},{"title":"Get Risk Matrix","api":"GET /risk-matrices/{id}","href":"/en/api-reference/risk-matrix/get"},{"title":"Create Risk Matrix","api":"POST /risk-matrices","href":"/en/api-reference/risk-matrix/create"},{"title":"Update Risk Matrix","api":"PUT /risk-matrices/{id}","href":"/en/api-reference/risk-matrix/update"}]}]},{"group":"Alerts","pages":[{"group":"API Reference","pages":[{"title":"List Alerts","api":"GET /intelligence/alerts","href":"/en/api-reference/alerts/list"},{"title":"Get Intelligence Inbox","api":"GET /intelligence/inbox","href":"/en/api-reference/alerts/inbox"},{"title":"Acknowledge Alert","api":"POST /intelligence/alerts/{id}/acknowledge","href":"/en/api-reference/alerts/acknowledge"},{"title":"Resolve Alert","api":"POST /intelligence/alerts/{id}/resolve","href":"/en/api-reference/alerts/resolve"},{"title":"Mark Alert as False Positive","api":"PUT /alerts/{id}/false-positive","href":"/en/api-reference/alerts/false-positive"}]}]},{"group":"Investigations","pages":[{"group":"API Reference","pages":[{"title":"List Investigations","api":"GET /intelligence/investigations","href":"/en/api-reference/investigations/list"},{"title":"Get Investigation Alerts","api":"GET /intelligence/investigations/{id}/alerts","href":"/en/api-reference/investigations/get-alerts"},{"title":"Update Investigation Status","api":"PATCH /intelligence/investigations/{id}/status","href":"/en/api-reference/investigations/update-status"},{"title":"Assign Investigation","api":"PUT /intelligence/investigations/{id}/assign","href":"/en/api-reference/investigations/assign"}]}]},{"group":"Data Ingestion","pages":[{"title":"Data Ingestion Overview","href":"/en/api-reference/data-ingestion/overview"},{"title":"Custom Schemas","href":"/en/api-reference/data-ingestion/custom-schemas"},{"title":"Field Mappings","href":"/en/api-reference/data-ingestion/field-mappings"}]},{"group":"Bulk imports","pages":[{"title":"Bulk imports","href":"/en/api-reference/bulk-imports/overview"},{"group":"API Reference","pages":[{"title":"Endpoints overview","href":"/en/api-reference/bulk-imports/api-reference"},{"title":"List mappings","api":"GET /batch-import/mappings","href":"/en/api-reference/bulk-imports/list-mappings"},{"title":"Create mapping","api":"POST /batch-import/mappings","href":"/en/api-reference/bulk-imports/create-mapping"},{"title":"Update mapping","api":"PATCH /batch-import/mappings/{id}","href":"/en/api-reference/bulk-imports/update-mapping"},{"title":"Delete mapping","api":"DELETE /batch-import/mappings/{id}","href":"/en/api-reference/bulk-imports/delete-mapping"},{"title":"Validate CSV","api":"POST /batch-import/validate-csv","href":"/en/api-reference/bulk-imports/validate-csv"},{"title":"Import entities (CSV)","api":"POST /batch-import/import/entities","href":"/en/api-reference/bulk-imports/import-entities"},{"title":"Import user events (CSV)","api":"POST /batch-import/import/user-events","href":"/en/api-reference/bulk-imports/import-user-events"},{"title":"Import transactions (multipart)","api":"POST /batch-import/import/transactions","href":"/en/api-reference/bulk-imports/import-transactions"},{"title":"List unified import history","api":"GET /batch-import/unified-history","href":"/en/api-reference/bulk-imports/list-unified-history"},{"title":"Get batch job status","api":"GET /batch-import/jobs/{jobId}","href":"/en/api-reference/bulk-imports/get-batch-job-status"},{"title":"Download batch job payload","api":"GET /batch-import/jobs/{jobId}/payload","href":"/en/api-reference/bulk-imports/get-batch-job-payload"},{"title":"List mapping audits","api":"GET /batch-import/mapping-audits","href":"/en/api-reference/bulk-imports/list-mapping-audits"},{"title":"Control batch job","api":"POST /batch-import/jobs/{jobId}/control","href":"/en/api-reference/bulk-imports/control-batch-job"},{"title":"Batch import failure codes","href":"/en/api-reference/bulk-imports/batch-import-failure-codes"},{"title":"Transaction batch failures","api":"GET /batch-import/transaction-jobs/{jobId}/failures","href":"/en/api-reference/bulk-imports/get-transaction-batch-failures"},{"title":"User-event batch failures","api":"GET /batch-import/user-event-jobs/{jobId}/failures","href":"/en/api-reference/bulk-imports/get-user-event-batch-failures"},{"title":"Entity batch failures","href":"/en/api-reference/bulk-imports/get-entity-batch-failures"},{"title":"Requeue transaction batch job","api":"POST /batch-import/transaction-jobs/{jobId}/requeue","href":"/en/api-reference/bulk-imports/requeue-transaction-batch-job"},{"title":"Requeue entity bulk import job","api":"POST /batch-import/entity-jobs/{jobId}/requeue","href":"/en/api-reference/bulk-imports/requeue-entity-batch-job"}]}]},{"group":"Documents","pages":[{"group":"API Reference","pages":[{"title":"Upload Document","api":"POST /documents/upload","href":"/en/api-reference/documents/upload"}]}]},{"group":"Enrichment","pages":[{"title":"Enrichment Overview","href":"/en/api-reference/enrichment/overview"},{"group":"API Reference","pages":[{"title":"Execute Enrichment by Entity ID","api":"POST /integration-execution/marketplace/enrichment","href":"/en/api-reference/enrichment/execute-by-id"},{"title":"Execute Enrichment by External ID","api":"POST /integration-execution/marketplace/enrichment-by-external-id","href":"/en/api-reference/enrichment/execute-by-external-id"},{"title":"Get normalized enrichment","api":"GET /entities/{id}/normalized-enrichment","href":"/en/api-reference/enrichment/get-normalized"},{"title":"Get current enrichment data","api":"GET /entities/{id}/enrichment-data","href":"/en/api-reference/enrichment/get-current-data"}]}]},{"group":"AML Crypto","pages":[{"title":"AML Crypto","sidebarTitle":"Overview","href":"/en/api-reference/aml-crypto/overview"},{"group":"API Reference","pages":[{"title":"AML Crypto health","api":"GET /aml-crypto/health","href":"/en/api-reference/aml-crypto/health"},{"title":"Address label","api":"GET /aml-crypto/address-label","href":"/en/api-reference/aml-crypto/address-label"},{"title":"Address risk score","api":"GET /aml-crypto/address-risk-score","href":"/en/api-reference/aml-crypto/address-risk-score"},{"title":"Address risk activity","api":"GET /aml-crypto/address-risk-activity","href":"/en/api-reference/aml-crypto/address-risk-activity"},{"title":"Dark web wallet","api":"GET /aml-crypto/dark-web-wallet","href":"/en/api-reference/aml-crypto/dark-web-wallet"},{"title":"Transaction risk score","api":"GET /aml-crypto/transaction-risk-score","href":"/en/api-reference/aml-crypto/transaction-risk-score"},{"title":"List AML Crypto checks","api":"GET /aml-crypto/checks","href":"/en/api-reference/aml-crypto/list-checks"},{"title":"Get AML Crypto check","api":"GET /aml-crypto/checks/{id}","href":"/en/api-reference/aml-crypto/get-check"}]}]},{"group":"Services","pages":[{"title":"Marketplace Services Overview","href":"/en/api-reference/services/overview"},{"group":"CBU/CVU Holder Intelligence","pages":[{"title":"CBU/CVU Holder Intelligence","sidebarTitle":"Overview","href":"/en/api-reference/services/ar-gueno-holder-intelligence/overview"},{"group":"API Reference","pages":[{"title":"Service Health","api":"GET /integration-services/ar_gueno_holder_intelligence_service/health","href":"/en/api-reference/services/ar-gueno-holder-intelligence/health"},{"title":"Check CUIT in Corpus","api":"GET /integration-services/ar_gueno_holder_intelligence_service/cuits/:cuit/exists","href":"/en/api-reference/services/ar-gueno-holder-intelligence/exists"},{"title":"Accounts Count by CUIT","api":"GET /integration-services/ar_gueno_holder_intelligence_service/cuits/:cuit/accounts-count","href":"/en/api-reference/services/ar-gueno-holder-intelligence/accounts-count"},{"title":"Custom Metrics by CUIT","api":"GET /integration-services/ar_gueno_holder_intelligence_service/cuits/:cuit/metrics","href":"/en/api-reference/services/ar-gueno-holder-intelligence/metrics"}]}]},{"group":"Fraud Prevention Center (CPF)","pages":[{"title":"Fraud Prevention Center (CPF)","sidebarTitle":"Overview","href":"/en/api-reference/services/ar-gueno-cpf/overview"},{"group":"API Reference","pages":[{"title":"CPF — Health","sidebarTitle":"Health","href":"/en/api-reference/services/ar-gueno-cpf/health"},{"title":"CPF — Corpus coverage","sidebarTitle":"Coverage","href":"/en/api-reference/services/ar-gueno-cpf/coverage"},{"title":"CPF — CUIT in-list","sidebarTitle":"CUIT in-list","href":"/en/api-reference/services/ar-gueno-cpf/cuits-in-list"},{"title":"CPF — CUIT lookup","sidebarTitle":"CUIT lookup","href":"/en/api-reference/services/ar-gueno-cpf/cuits"},{"title":"CPF — Account in-list","sidebarTitle":"Account in-list","href":"/en/api-reference/services/ar-gueno-cpf/accounts-in-list"},{"title":"CPF — Account lookup","sidebarTitle":"Account lookup","href":"/en/api-reference/services/ar-gueno-cpf/accounts"},{"title":"CPF — Operation detail","sidebarTitle":"Operations","href":"/en/api-reference/services/ar-gueno-cpf/operations"},{"title":"CPF — Upload workbook","sidebarTitle":"Upload workbook","href":"/en/api-reference/services/ar-gueno-cpf/upload"}]}]}]},{"group":"Integrations","pages":[{"title":"Shared Provider Codes","href":"/en/api-reference/integrations/shared-provider-codes"},{"group":"API Reference","pages":[{"title":"Execute marketplace enrichment without entity","api":"POST /integration-execution/execute-without-entity","href":"/en/api-reference/integrations/execute-without-entity"},{"title":"List headless enrichment executions","api":"GET /integration-execution/headless-executions","href":"/en/api-reference/integrations/headless-executions"},{"title":"Get headless enrichment execution by id","api":"GET /integration-execution/headless-executions/item/:id","href":"/en/api-reference/integrations/headless-executions-item"}]}]},{"group":"Interactive Tutorials","pages":[{"title":"How to invite members to your organization","icon":"user-plus","href":"/en/tutorials/invite-members"},{"title":"How to manage roles and permissions (RBAC)","icon":"shield-halved","href":"/en/tutorials/manage-roles"},{"title":"How to configure and manage teams","icon":"users-gear","href":"/en/tutorials/configure-teams"},{"title":"How to Switch Between Environments (Production and Sandbox)","icon":"toggle-on","href":"/en/tutorials/switch-environments"},{"title":"How to Create and Manage API Keys","icon":"key","href":"/en/tutorials/manage-api-keys"}]}]},{"version":"🇪🇸 ES","pages":[{"title":"🇪🇸 ES","href":"/es/api-reference/events/create"}]},{"version":"🇧🇷 PT","pages":[{"title":"🇧🇷 PT","href":"/pt/api-reference/events/create"}]}]},"basePath":"","title":"Create a user event for rules and fraud detection - gu1","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js"]}