The signed-in account.
Answers the signed-in account: its wallets, linked logins and the consents still required before the app opens.
/v1/mesessionAPI key · cookierequiredAn opaque, revocable INVICTUS session set by createSession.
X-Telegram-UserstringWith the service credential: the linked Telegram user the call acts for.
Success.
idstringrequiredThe account's id.
usernamestring | nullrequiredThe account's username; null until claimed.
Show propertiesHide properties
stringnullpicturestring<uri-reference> | nullrequiredThe account's picture, or null.
Show propertiesHide properties
string<uri-reference>nullidentitiesobject[]requiredThe login methods linked to the account.
Show propertiesHide properties
objectmethodstringrequiredHow the user logs in.
googletelegramwalletlabelstringrequiredWhat identifies the login: an email, a handle, an address.
linkedAtintegerrequiredWhen it was linked, in Unix seconds.
walletsAccountWallet[]requiredThe account's wallets.
Show propertiesHide properties
AccountWalletidstringrequiredThe wallet as family:address.
familystringrequiredThe chain family: EVM or Solana.
evmsolanaaddressstringrequiredThe wallet's address on its family's chains.
kindstringrequiredembedded is made and held through Privy; linked is the user's own wallet, which signs and sends itself.
embeddedlinkednamestringrequiredThe name the user gave the wallet.
privyWalletIdstring | nullrequiredThe wallet's id at Privy, checked by the API; null for a linked wallet.
Show propertiesHide properties
stringnullconsentsobject[]requiredThe consent texts the account accepted, by version.
Show propertiesHide properties
objectkindstringrequiredtermsriskversionstringrequiredacceptedAtintegerrequiredA point in time: Unix time in whole seconds, UTC.
requiredConsentsobject[]requiredConsents still to accept; the app stays gated until this is empty.
Show propertiesHide properties
objectkindstringrequiredtermsriskversionstringrequiredurlstringrequiredmfaobject | nullrequiredWhether the user enrolled a second factor at Privy, and which methods; null while it has not been read from Privy.
Show propertiesHide properties
enrolledbooleanrequiredmethodsstring[]requirednullcreatedAtintegerrequiredWhen the account was created, in Unix seconds.
asOfintegerrequiredWhen this answer was read, in Unix seconds.
No session, or it ended.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Too many requests; retryAfterSeconds says when to ask again.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Server error.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
