auth

Verify Phone Code

Step 2: Verify the phone verification code.

Validates the verification code sent via WhatsApp.

  • Max 5 failed attempts per code
  • Returns the email (user+{phone}@trylapis.com) for use in complete-registration
post/api/v1/auth/verify-phone-code

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/verify-phone-code
  • Auth: none declared

Request body

phonestring required

Phone number (digits only)

codestring required
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

verifiedboolean required
messagestring required
emailstring nullable

Generated email for use in complete-registration (user+{phone}@trylapis.com)

Changes

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