ai.newnal.illi.account.exchangeCode
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Exchange the one-time code from a client=native sign-in (delivered on the app's App Link / Universal Link, 60 s, single use) for a session token, sent afterwards as Authorization: Bearer on every call and on /events (D-45).",
"errors": [
{
"name": "InvalidCode"
},
{
"name": "RateLimitExceeded"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"code": {
"maxLength": 128,
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"app": {
"knownValues": [
"family",
"device"
],
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"expiresAt": {
"format": "datetime",
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"token",
"did",
"app",
"expiresAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.account.exchangeCode",
"lexicon": 1
}
Metadata
- DID
-
did:plc:uztm7bi2ce42dez3uu3qafro - CID
-
bafyreifrcjo6iavaohnyqxobo4oj7myju7zgqlc4tsh7rzjmrbycsexrli - Indexed At
- 2026-10-20 23:17 UTC
- AT-URI
-
at://did:plc:uztm7bi2ce42dez3uu3qafro/com.atproto.lexicon.schema/ai.newnal.illi.account.exchangeCode
Version History (3 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
ai.newnal.illi.account.parent.startOAuth procedure
Start a parent's OAuth sign-in on the device through the PDN's own page (BFF), for an existing Newnal ID whose credentials are typed on the PDN page. Device-created accounts, and existing ones whose credentials the devi…
-
Issue a server nonce (5 minutes) that a client binds into its attestation before calling account.requestPDNCreationGrant, account.parent.signIn, account.family.signIn or device.requestOnboardingCode. The nonce is an att…