app.bsky.contact.startPhoneVerification

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.

Details · procedure
Kindprocedure
Authoritycontact.bsky.app
Indexed
cid bafyreif6jrd6gkonvwlvfkv2wyx5tnk4ayuv2xihcao7kyzdms42s34bhe

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.phoneNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "errors": [
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "InvalidDid"
        },
        {
          "name": "InvalidPhone"
        },
        {
          "name": "InternalError"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "phone": {
              "description": "The phone number to receive the code via SMS.",
              "type": "string"
            }
          },
          "required": [
            "phone"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.bsky.contact.startPhoneVerification",
  "lexicon": 1
}