Auth Service

Identity and authorization for the exchange: EIP-4361 Sign-In with Ethereum nonce and sign-up, JWT access/refresh token issuance and revocation, API key management (including restore of a deleted key), sessions, ACL, sub-accounts, tariffs and social account (OAuth) linking. 88 operations.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/auth-service"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

evedex-auth-openapi.json Raw ↑
{"openapi":"3.1.0","servers":[{"url":"https://auth-api.evedex.com"}],"info":{"title":"EVEDEX - Auth","version":"1.0.0"},"paths":{"/auth/ping":{"get":{"tags":["System"],"security":[],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PingResponse"}}}}}}},"/auth/verify-message":{"post":{"tags":["Auth"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMessageBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMessageResponse"}}}}}}},"/auth/user/subscriptions/lookup":{"post":{"tags":["User"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLookupBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSubscriptionsResponse"}}}}}}},"/auth/user/media/list":{"get":{"tags":["User"],"security":[{"InternalToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/PageLimitParam"}},{"in":"query","name":"offset","schema":{"$ref":"#/components/schemas/PageOffsetParam"}},{"in":"query","name":"authId","description":"Filter by specific user ID","schema":{"type":"string","format":"uuid","description":"Filter by specific user ID"}},{"in":"query","name":"authIds","description":"Filter by specific user IDs","schema":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":20,"description":"Filter by specific user IDs"}},{"in":"query","name":"email","schema":{"type":"string"}},{"in":"query","name":"telegram","schema":{"type":"string"}},{"in":"query","name":"discord","schema":{"type":"string"}},{"in":"query","name":"mobilePushEnabled","schema":{"type":"string"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMediaListResponse"}}}}}}},"/auth/user/{authId}/balance":{"get":{"tags":["User"],"security":[{"InternalToken":[]}],"parameters":[{"in":"path","name":"authId","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletBalanceObject"}}}}}}}},"/auth/user/balance":{"get":{"tags":["User"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletBalanceObject"}}}}}}}},"/auth/user/{id}":{"put":{"tags":["User"],"security":[{"InternalToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}}},"delete":{"tags":["User"],"security":[{"InternalToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/user/sign-up":{"post":{"tags":["User"],"security":[],"parameters":[{"in":"query","name":"noCookieReplace","schema":{"type":"string","enum":["yes","no",""]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth"}}}}}}},"/auth/sign-in/by":{"post":{"tags":["Auth"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInByBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth"}}}}}}},"/auth/revoke":{"post":{"tags":["Auth"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/refresh":{"post":{"tags":["Auth"],"security":[{"RefreshToken":[]}],"parameters":[{"in":"query","name":"noCookieReplace","schema":{"type":"string","enum":["yes","no",""]}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"utm":{"type":"object","properties":{"source":{"type":"string"},"medium":{"type":"string"},"campaign":{"type":"string"},"term":{"type":"string"},"content":{"type":"string"}}},"tracking":{"type":"object","properties":{"params":{"type":"object","propertyNames":{"type":"string","maxLength":64},"additionalProperties":{"type":"string","maxLength":512}}},"required":["params"]},"visitorId":{"type":"string"}}}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth"}}}}}}},"/auth/user/{id}/referral-code":{"put":{"tags":["User"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserReferralCodeBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/nonce":{"get":{"tags":["Auth"],"security":[],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonceResponse"}}}}}}},"/auth/user/me":{"get":{"tags":["User"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/auth/user/logout":{"post":{"tags":["User"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/location":{"get":{"tags":["User"],"security":[],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationResponse"}}}}}}},"/auth/links/{type}":{"get":{"tags":["User"],"security":[],"parameters":[{"in":"path","name":"type","schema":{"type":"string"},"required":true},{"in":"query","name":"utm_source","schema":{"type":"string"}},{"in":"query","name":"utm_medium","schema":{"type":"string"}},{"in":"query","name":"utm_campaign","schema":{"type":"string"}},{"in":"query","name":"utm_term","schema":{"type":"string"}},{"in":"query","name":"utm_content","schema":{"type":"string"}}],"responses":{"302":{"description":"302 OK"}}}},"/auth/user":{"get":{"tags":["User"],"security":[{"InternalToken":[]}],"parameters":[{"in":"query","name":"id","description":"Account ID","schema":{"type":["string","null"],"description":"Account ID"}},{"in":"query","name":"wallet","description":"Wallet address","schema":{"type":["string","null"],"description":"Wallet address"}},{"in":"query","name":"smartAccountAddress","description":"Smart account address","schema":{"type":["string","null"],"description":"Smart account address"}},{"in":"query","name":"email","description":"Email address","schema":{"type":"string","description":"Email address"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"avatar":{"type":["string","null"]},"cover":{"type":["string","null"]},"wallet":{"type":"string"},"role":{"type":"string","enum":["admin","manager","user","academy-curator","academy-moderator"]},"name":{"type":["string","null"]},"status":{"type":["string","null"]},"description":{"type":["string","null"]},"email":{"type":["string","null"]},"locale":{"type":"string","enum":["en-US","ru-RU","es-ES","fr-FR","de-DE","it-IT","pt-BR","ja-JP","ko-KR","zh-CN","zh-TW","ar-SA","pt-PT","tr-TR","uk-UA"]},"telegramProfile":{"type":["object","null"],"properties":{"shortUsername":{"type":"string"}},"required":["shortUsername"]},"discordId":{"type":["string","null"]},"discordName":{"type":["string","null"]},"mobilePushEnabled":{"type":"boolean"},"referralCode":{"type":["string","null"]},"smartAccountsList":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string"},"address":{"type":"string"},"version":{"type":"number"},"isDeployed":{"type":"boolean"}},"required":["network","address","version","isDeployed"]},"description":"User owned smart accounts list"},"parentSmartAccountList":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string"},"address":{"type":"string"},"version":{"type":"number"},"isDeployed":{"type":"boolean"}},"required":["network","address","version","isDeployed"]},"description":"Parent user owned smart accounts list (for sub accounts)"},"subAccountIndex":{"type":"string"},"signUpMethod":{"type":"string","enum":["email","google","apple","wallet","telegram","twitter"]},"platform":{"type":["string","null"],"enum":["WEB_MOB","WEB_DESKTOP","WEB_OTHER","APP_ANDROID","APP_IOS"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"lastSignInAt":{"type":["string","null"]},"subscriptionStatus":{"type":"string","enum":["none","expired","active","canceling","renewed"],"default":"none"},"privilegiesType":{"type":["string","null"],"enum":["premium","academyCourse"],"default":null},"type":{"type":"string","enum":["user","autotest"],"description":"User type"},"accountType":{"type":"string","enum":["main","sub","funded"],"description":"Account type (main or sub)"},"accountStatus":{"type":"string","enum":["active","inactive","initial","smartAccountReady"],"description":"Account status (active, inactive, etc.)"},"parent":{"type":["string","null"],"format":"uuid","description":"Parent account ID for sub accounts"},"isArchived":{"type":"boolean","description":"Whether the sub account is archived"},"twofa":{"type":"boolean"},"permissions":{"type":"array","items":{"type":"string"}},"subscriptionEndedAt":{"type":["string","null"],"default":null}},"required":["id","avatar","cover","wallet","role","name","status","description","email","locale","telegramProfile","discordId","discordName","mobilePushEnabled","referralCode","smartAccountsList","signUpMethod","platform","createdAt","updatedAt","lastSignInAt","subscriptionStatus","privilegiesType","type","accountType","accountStatus","parent","isArchived","twofa","permissions","subscriptionEndedAt"]}}}}}},"post":{"tags":["User"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/auth/refresh/{id}/disable":{"put":{"tags":["Auth"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisableRefreshTokenBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/refresh/{id}/disable-all":{"put":{"tags":["Auth"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisableAllRefreshTokensBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/user/{authId}/block":{"post":{"tags":["User"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"authId","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"blocked":{"type":"boolean","default":true}}}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/wallet/transfer":{"get":{"tags":["User"],"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"status","schema":{"anyOf":[{"type":"string","enum":["pending","blocked","process","detained","done","refunded","error"]},{"type":"array","items":{"type":"string","enum":["pending","blocked","process","detained","done","refunded","error"]}}]}},{"in":"query","name":"type","schema":{"anyOf":[{"type":"string","enum":["deposit","withdraw","transfer-pfutures-balance","transfer-balance-pfutures","paymaster-fee","paymaster-refund","cashback-withdraw","lucky-shot-withdraw","smart-account-transfer","transfer-balance-sub-pfutures"]},{"type":"array","items":{"type":"string","enum":["deposit","withdraw","transfer-pfutures-balance","transfer-balance-pfutures","paymaster-fee","paymaster-refund","cashback-withdraw","lucky-shot-withdraw","smart-account-transfer","transfer-balance-sub-pfutures"]}}]}},{"in":"query","name":"after","schema":{"type":["string","null"]}},{"in":"query","name":"before","schema":{"type":["string","null"]}},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/PageLimitParam"}},{"in":"query","name":"offset","schema":{"$ref":"#/components/schemas/PageOffsetParam"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"array","items":{"$ref":"#/components/schemas/WalletTransferWithFeesObject"}},"count":{"type":"number"},"next":{"type":"string"}},"required":["list","count"]}}}}}}},"/auth/transfer":{"get":{"tags":["User"],"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"type","schema":{"type":"string","enum":["deposit","withdrawal","smartAccountTransfer","partnerRewardTransfer","all"],"default":"deposit"}},{"in":"query","name":"after","schema":{"type":["string","null"]}},{"in":"query","name":"before","schema":{"type":["string","null"]}},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/PageLimitParam"}},{"in":"query","name":"offset","schema":{"$ref":"#/components/schemas/PageOffsetParam"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"authId":{"type":"string","format":"uuid"},"type":{"type":"string","const":"deposit"},"network":{"type":"string"},"destinationNetwork":{"type":["string","null"]},"transactionHash":{"type":"string"},"wallet":{"type":"string","description":"initial funds sender"},"depositor":{"type":"string","description":"funds receiver (bridgeMiddleware contracts)"},"token":{"type":"string"},"amount":{"type":["string","null"]},"status":{"type":"string","enum":["pending","detained","process","done","refunded","error"]},"amlStatus":{"type":["string","null"],"enum":["blocked","pending","process","skip","green","red","approve","refund","manual-red","manual-green"]},"originToken":{"type":["string","null"]},"originAmount":{"type":["string","null"]},"originAmountUsdt":{"type":["string","null"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","authId","type","network","destinationNetwork","transactionHash","wallet","depositor","token","amount","status","amlStatus","originToken","originAmount","originAmountUsdt","createdAt","updatedAt"]},{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"authId":{"type":"string","format":"uuid"},"type":{"type":"string","const":"withdrawal"},"network":{"type":"string"},"destinationNetwork":{"type":["string","null"]},"transactionHash":{"type":"string"},"destinationTransactionHash":{"type":["string","null"]},"recipient":{"type":"string","description":"funds receiver (in different network)"},"depositor":{"type":"string","description":"funds sender"},"token":{"type":"string"},"amount":{"type":["string","null"]},"status":{"type":"string","enum":["pending","detained","process","done","refunded","error"]},"externalId":{"type":["string","null"]},"fee":{"type":["object","null"],"properties":{"total":{"type":["string","null"]},"platform":{"type":["string","null"]},"percentage":{"type":["string","null"]},"gas":{"type":["string","null"]},"feeCurrency":{"type":["string","null"]}},"required":["total","platform","percentage","gas","feeCurrency"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","authId","type","network","destinationNetwork","transactionHash","destinationTransactionHash","recipient","depositor","token","amount","status","externalId","fee","createdAt","updatedAt"]},{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"authId":{"type":"string","format":"uuid"},"type":{"type":"string","const":"smartAccountTransfer"},"network":{"type":"string"},"transactionHash":{"type":"string"},"token":{"type":"string"},"amount":{"type":["string","null"]},"status":{"type":"string","enum":["pending","detained","process","done","refunded","error"]},"from":{"type":"string"},"to":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","authId","type","network","transactionHash","token","amount","status","from","to","createdAt","updatedAt"]},{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"authId":{"type":"string","format":"uuid"},"type":{"type":"string","const":"partnerRewardTransfer"},"network":{"type":"string"},"transactionHash":{"type":"string"},"token":{"type":"string"},"amount":{"type":["string","null"]},"from":{"type":"string"},"to":{"type":"string"},"status":{"type":"string","enum":["pending","detained","process","done","refunded","error"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","authId","type","network","transactionHash","token","amount","from","to","status","createdAt","updatedAt"]}]}},"count":{"type":"number"},"next":{"type":"string"}},"required":["list","count"]}}}}}}},"/auth/user/trading-view-settings":{"post":{"tags":["User"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTradingViewSettingsBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}},"get":{"tags":["User"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTradingViewSettingsResponse"}}}}}}},"/auth/user-profile":{"put":{"tags":["User"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileUpdateBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}}},"delete":{"tags":["User"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileDeleteBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/user-profile/{authId}":{"delete":{"tags":["User"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"authId","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/user-profile/deletion-confirmation":{"get":{"tags":["User"],"security":[],"parameters":[{"in":"query","name":"token","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/2fa/verify":{"post":{"tags":["User"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"authId":{"type":"string"},"code":{"type":"string"}},"required":["authId","code"]}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"object","properties":{"verified":{"type":"boolean"}},"required":["verified"]}}}}}}},"/auth/2fa/enable":{"post":{"tags":["User"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"TOTP"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"TOTP"},"code":{"type":"string"}},"required":["type","code"],"additionalProperties":false}]}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"secret":{"type":"string"},"secretUrl":{"type":"string"}},"required":["secret"]},{"type":"object","properties":{"token":{"$ref":"#/components/schemas/JWT"}},"required":["token"]}]}}}}}}},"/auth/2fa/disable":{"post":{"tags":["User"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"]}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/JWT"}},"required":["token"]}}}}}}},"/auth/telegram-profile":{"delete":{"tags":["Telegram"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/telegram-bot/deep-link-for-start/internal":{"post":{"tags":["Telegram"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"authId":{"type":"string"}},"required":["authId"]}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramBot"}}}}}}},"/auth/telegram-bot/deep-link-for-start":{"get":{"tags":["Telegram"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramBot"}}}}}}},"/auth/user/{id}/tariff":{"put":{"tags":["Tariff"],"description":"Update student tariff","security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TariffUpdateBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TariffObject"}}}}}},"get":{"tags":["Tariff"],"description":"Get list of student tariffs","security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/PageLimitParam"}},{"in":"query","name":"offset","schema":{"$ref":"#/components/schemas/PageOffsetParam"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TariffList"}}}}}},"post":{"tags":["Tariff"],"description":"Create student tariff","security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TariffCreateBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TariffObject"}}}}}}},"/auth/user/{id}/tariff/active":{"get":{"tags":["Tariff"],"description":"Get last active student tariff","security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TariffObject"},{"type":"null"}]}}}}}}},"/auth/user/{id}/tariff/cancel":{"post":{"tags":["Tariff"],"description":"Cancel active tariff","security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TariffObject"}}}}}}},"/auth/sub-account/{id}":{"put":{"tags":["SubAccount"],"security":[{"InternalToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountUpdateBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/sub-account/{id}/unarchive":{"put":{"tags":["SubAccount"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/sub-account/switch":{"post":{"tags":["SubAccount"],"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"noCookieReplace","schema":{"type":"string","enum":["yes","no",""]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchAccountBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth"}}}}}}},"/auth/sub-account/list":{"get":{"tags":["SubAccount"],"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"isArchived","schema":{"type":"string","enum":["true","false","yes","no"]}},{"in":"query","name":"search","description":"Search by name or address","schema":{"type":"string","description":"Search by name or address"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountListResponse"}}}}}}},"/auth/sub-account/create":{"post":{"tags":["SubAccount"],"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"noCookieReplace","schema":{"type":"string","enum":["yes","no",""]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubAccountBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth"}}}}}}},"/auth/sub-account/{parentId}/{id}/check":{"get":{"tags":["SubAccount"],"security":[{"InternalToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true},{"in":"path","name":"parentId","description":"Parent account ID","schema":{"type":"string","format":"uuid","description":"Parent account ID"},"required":true},{"in":"query","name":"type","description":"Account type to check","schema":{"type":"string","enum":["main","sub","funded"],"description":"Account type to check"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/sub-account/{id}/archive":{"put":{"tags":["SubAccount"],"security":[{"AccessToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/smart-account/validate":{"post":{"tags":["SmartAccount"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateSmartAccountsBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateSmartAccountsResponse"}}}}}}},"/auth/user/sessions":{"get":{"tags":["Session"],"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/PageLimitParam"}},{"in":"query","name":"offset","schema":{"$ref":"#/components/schemas/PageOffsetParam"}},{"in":"query","name":"withDisabled","schema":{"type":"string"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSessionsActivityListResponse"}}}}}}},"/auth/session":{"put":{"tags":["Session"],"security":[{"AccessToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"utm":{"type":"object","properties":{"source":{"type":"string"},"medium":{"type":"string"},"campaign":{"type":"string"},"term":{"type":"string"},"content":{"type":"string"}}},"tracking":{"type":"object","properties":{"params":{"type":"object","propertyNames":{"type":"string","maxLength":64},"additionalProperties":{"type":"string","maxLength":512}}},"required":["params"]}}}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}}}}},"/auth/session/metadata":{"post":{"tags":["Session"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sessionIds":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["sessionIds"]}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"currentSession":{"$ref":"#/components/schemas/UserSessionHistoryFullObject"},"firstSession":{"$ref":"#/components/schemas/UserSessionHistoryFullObject"},"totalSessions":{"type":"integer","minimum":0}},"required":["currentSession","firstSession","totalSessions"]}}}}}}}},"/auth/session/history":{"get":{"tags":["Session"],"deprecated":true,"security":[{"AccessToken":[]}],"parameters":[{"in":"query","name":"id","description":"Account ID","schema":{"type":["string","null"],"description":"Account ID"}},{"in":"query","name":"wallet","description":"Wallet address","schema":{"type":["string","null"],"description":"Wallet address"}},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/PageLimitParam"}},{"in":"query","name":"offset","schema":{"$ref":"#/components/schemas/PageOffsetParam"}}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSessionHistoryListResponse"}}}}}}},"/auth/session/first":{"post":{"tags":["Session"],"security":[{"InternalToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"authIds":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["authIds"]}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSessionHistoryFullObject"}}}}}}}},"/auth/user/me/service":{"get":{"tags":["Service"],"security":[{"AccessToken":[]}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserServiceListResponse"}}}}}}},"/auth/user/{id}/service":{"post":{"tags":["Service"],"security":[{"InternalToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserServiceBody"}}}},"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserServiceListResponse"}}}}}}},"/auth/public/{id}/profile":{"get":{"tags":["Public profile"],"security":[],"parameters":[{"in":"path","name":"id","description":"User ID or public profile ID","schema":{"type":"string","description":"User ID or public profile ID"},"required":true}],"responses":{"200":{"description":"200 OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"publicProfileId":{"type":["string","null"]},"wallet":{"type":"string"},"name":{"type":"string"},"status":{"type":["string","null"]},"description":{"type":["string","null"]},"avatar":{"type":["string","null"]},"cover":{"type":["string","null"]},"subscriptio

# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/evedex/refs/heads/main/openapi/evedex-auth-openapi.json