Omen Developer Portal

API Reference

Auth API

Detailed reference for endpoints, authentication, channels, messages, environment endpoints, and data models in this integration area.

OpenAPI referencev3.0.0Auth

Omen Auth API

Authentication and identity service for the Omen platform. Provides email OTP, password, passkey (WebAuthn), and OAuth (Google/Apple) login flows, JWT token management with rotating refresh tokens, wallet linking, API token generation, product selection with geoblocking, and a JWKS endpoint for downstream signature verification. ## Base URL | Environment | URL | |-------------|-----| | Local dev | `http://localhost:3

Environment endpoints

Local devhttp://localhost:3100Local dev

Authentication

bearerAuthhttpbearer

JWT access token issued by omen-auth.

cookieAuthapiKeyrefresh_token

HttpOnly refresh token cookie set by omen-auth.

Endpoints

MethodPathSummaryTags
GET/healthHealth check
Tokens
POST/auth/otp/requestRequest OTP code
OTP
POST/auth/otp/verifyVerify OTP and get tokens
OTP
POST/auth/password/signup/requestRequest first-password setup code
Password
POST/auth/password/signupAdd password to verified account
Password
POST/auth/password/loginLog in with password
Password
POST/auth/password/reset/requestRequest password reset code
Password
POST/auth/password/reset/confirmConfirm password reset
Password
POST/auth/username/signupSign up with username and password
Password
POST/auth/username/loginLog in with username and password
Password
POST/auth/passkey/register/beginBegin passkey registration
Passkey
POST/auth/passkey/register/completeComplete passkey registration
Passkey
POST/auth/passkey/login/beginBegin passkey login
Passkey
POST/auth/passkey/login/completeComplete passkey login
Passkey
POST/auth/oauth/googleGoogle OAuth login
OAuth
POST/auth/oauth/appleApple OAuth login
OAuth
POST/auth/refreshRotate refresh token
Tokens
POST/auth/logoutLogout (revoke session)
Tokens
GET/auth/meGet current user
Tokens
GET/auth/username/availableCheck username availability
User
PATCH/auth/me/usernameUpdate username
User
POST/auth/wallet/linkLink EVM wallet
Wallet
DELETE/auth/wallet/linkUnlink wallet
Wallet
GET/auth/walletGet linked wallet
Wallet
POST/auth/email/requestRequest email verification code
User
POST/auth/email/confirmVerify code and link email to account
User
POST/auth/api-tokensCreate API token
API Tokens
GET/auth/api-tokensList API tokens
API Tokens
DELETE/auth/api-tokens/{id}Revoke API token
API Tokens
GET/auth/productsList available products
Products
POST/auth/productsSet active product
Products
POST/auth/mfa/totp/enrollBegin TOTP enrollment from an aal3 session
MFA
POST/auth/mfa/totp/enroll/passwordBegin TOTP enrollment with password step-up
MFA
POST/auth/mfa/totp/enroll/oauth/googleBegin TOTP enrollment with Google step-up
MFA
POST/auth/mfa/totp/enroll/oauth/appleBegin TOTP enrollment with Apple step-up
MFA
POST/auth/mfa/totp/confirmConfirm TOTP enrollment
MFA
DELETE/auth/mfa/totpDisable MFA
MFA
DELETE/auth/passkey/{id}Delete a passkey credential
Passkey
POST/auth/mfa/verifyVerify TOTP code (login flow)
MFA
POST/auth/mfa/recoveryUse recovery code (login flow)
MFA
POST/auth/mfa/step-upStep-up to AAL2
MFA
GET/auth/mfa/statusGet MFA enrollment status
MFA
POST/auth/mfa/recovery-codes/regenerateGenerate or regenerate recovery codes
MFA
POST/auth/recovery/loginLog in with a recovery code
MFA
GET/auth/intercom/sessionGet Intercom identity verification token
Intercom
GET/auth/analytics/tokenGet analytics verification token
Analytics
GET/.well-known/jwks.jsonJSON Web Key Set
JWKS
POST/auth/native/otp/requestRequest OTP code (native)
Native
POST/auth/native/otp/verifyVerify OTP and get tokens (native)
Native
POST/auth/native/password/signup/requestRequest first-password setup code (native)
Native
POST/auth/native/password/signupAdd password to verified account (native)
Native
POST/auth/native/password/loginLog in with password (native)
Native
POST/auth/native/username/signupSign up with username and password (native)
Native
POST/auth/native/username/loginLog in with username and password (native)
Native
POST/auth/native/password/reset/requestRequest password reset code (native)
Native
POST/auth/native/password/reset/confirmConfirm password reset (native)
Native
POST/auth/native/oauth/googleGoogle OAuth login (native)
Native
POST/auth/native/oauth/appleApple OAuth login (native)
Native
POST/auth/native/passkey/login/beginBegin passkey login (native)
Native
POST/auth/native/passkey/login/completeComplete passkey login (native)
Native
POST/auth/native/refreshRotate refresh token (native)
Native
POST/auth/native/logoutLogout (native)
Native
POST/auth/native/mfa/verifyVerify TOTP code (native)
Native
POST/auth/native/mfa/recoveryUse recovery code (native)
Native
POST/auth/native/mfa/step-upStep-up to AAL2 (native)
Native
POST/auth/native/recovery/loginLog in with a recovery code (native)
Native

Data models

ErrorTokenResponseNativeTokenResponseRefreshTokenBodyMessageResponseOtpRequestBodyOtpVerifyBodyPasswordSignupRequestBodyPasswordSignupBodyPasswordLoginBodyUsernameSignupBodyUsernameLoginBodyPasswordResetRequestBodyPasswordResetConfirmBodyPasskeyLoginBeginBodyPasskeyRegisterCompleteBodyPasskeyLoginCompleteBodyGoogleOAuthBodyAppleOAuthBodyUserInfoWalletLinkRequestWalletLinkResponseWalletGetResponseCreateApiTokenBodyApiTokenApiTokenCreatedSetProductBodyProductsResponseJwksResponseMfaRequiredResponseMfaVerifyBodyMfaRecoveryBodyMfaCodeBodyMfaEnrollPasswordBodyMfaConfirmBodyMfaEnrollResponseMfaConfirmResponseMfaStatusResponse