Backfill in-progress. Some lexicons and records may be missing or incomplete.

app.bsky.contact.verifyPhone

bsky-lexicons.bsky.social

Documentation

main procedure

Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.

Input

Encodingapplication/json
code string Required

The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.

phone string Required

The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.

Output

Encodingapplication/json
token string Required

JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.

Errors

RateLimitExceeded
InvalidDid
InvalidPhone
InvalidCode
InternalError
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "phone",
        "code"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`."
        },
        "phone": {
          "type": "string",
          "description": "The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`."
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "RateLimitExceeded"
    },
    {
      "name": "InvalidDid"
    },
    {
      "name": "InvalidPhone"
    },
    {
      "name": "InvalidCode"
    },
    {
      "name": "InternalError"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "token"
      ],
      "properties": {
        "token": {
          "type": "string",
          "description": "JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication."
}

Lexicon Garden

@