auth

Send Phone Verification

Step 1: Send verification code via WhatsApp.

Sends a 6-digit verification code to the provided phone number via WhatsApp.

  • Code expires in 10 minutes
  • Rate limited to 1 code per phone per minute
  • Returns the generated email (user+{phone}@trylapis.com) for use in registration
post/api/v1/auth/send-phone-verification

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/auth/send-phone-verification
  • Auth: none declared

Request body

phonestring required

Phone number (digits only)

country'US' | 'IN' | 'CN' | 'DE' | 'JP' | 'GB' | 'FR' | 'IT' | 'BR' | 'CA' | 'MX' | 'AU' | 'KR' | 'ES' | 'ID' | 'TR' | 'NL' | 'CH' | 'AR' | 'BE'

Country code for phone number formatting

Response

Successful Response

successboolean required
messagestring required
expires_in_secondsinteger
emailstring nullable

Generated email for the phone (user+{phone}@trylapis.com)

Changes

No recorded changes to this operation across all 1 revision of this API.