Skip to content

app.bsky.unspecced.initAgeAssurance

Lexicon Version: 1

Type: procedure

Initiate age assurance for an account. This is a one-time action that will start the process of verifying the user’s age.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
emailstringThe user’s email address to receive assurance instructions.
languagestringThe user’s preferred language for communication during the assurance process.
countryCodestringAn ISO 3166-1 alpha-2 code of the user’s location.
Output:
  • Encoding: application/json
  • Schema:

Schema Type: app.bsky.unspecced.defs#ageAssuranceState

Possible Errors:

  • InvalidEmail
  • DidTooLong
  • InvalidInitiation

{
"lexicon": 1,
"id": "app.bsky.unspecced.initAgeAssurance",
"defs": {
"main": {
"type": "procedure",
"description": "Initiate age assurance for an account. This is a one-time action that will start the process of verifying the user's age.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"email",
"language",
"countryCode"
],
"properties": {
"email": {
"type": "string",
"description": "The user's email address to receive assurance instructions."
},
"language": {
"type": "string",
"description": "The user's preferred language for communication during the assurance process."
},
"countryCode": {
"type": "string",
"description": "An ISO 3166-1 alpha-2 code of the user's location."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "ref",
"ref": "app.bsky.unspecced.defs#ageAssuranceState"
}
},
"errors": [
{
"name": "InvalidEmail"
},
{
"name": "DidTooLong"
},
{
"name": "InvalidInitiation"
}
]
}
}
}