Files
bsky-social-app/lexicons/app/bsky/contact/startPhoneVerification.json
2026-08-13 12:26:12 -07:00

48 lines
1.1 KiB
JSON

{
"id": "app.bsky.contact.startPhoneVerification",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"phone"
],
"properties": {
"phone": {
"type": "string",
"description": "The phone number to receive the code via SMS."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "RateLimitExceeded"
},
{
"name": "InvalidDid"
},
{
"name": "InvalidPhone"
},
{
"name": "InternalError"
}
],
"output": {
"schema": {
"type": "object",
"properties": {}
},
"encoding": "application/json"
},
"description": "Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}