Phonelink

Getting Started

Phone number verification for web and mobile apps.

Phonelink is a phone number verification SDK for web and mobile apps. It handles the entire verification flow — your app opens a secure browser session, the user verifies their phone number, and your server validates the resulting signed JWT.

How it works

  1. Your app calls startAuth() which generates a cryptographic nonce and redirects to Phonelink
  2. The user completes phone number verification on the Phonelink page
  3. Phonelink redirects back to your app with a signed JWT token
  4. Your app sends the token and nonce to your server
  5. Your server calls verifyPhonelinkToken() to validate the JWT signature, issuer, audience, nonce, and verification status
  6. On success, your server receives the verified phone number in E.164 format

Install

npm install phonelink

Choose your platform

Server verification

Every integration requires server-side token verification. See the Server Verification guide after setting up your client.

On this page