onboarding

phoneVerificationClaim

Changed on

Claims the new verified login phone after Twilio approves its OTP. The existing login phone remains active until this succeeds.

post/onboarding/phoneVerificationClaim

Request

  • Base URL
    https://docs.wowinvoice.io
  • URL
    https://docs.wowinvoice.io/onboarding/phoneVerificationClaim
  • Auth
    API key in header authorization

Request body

codestring
country_codestring
country_isostring
phonestring
device_idstring

Example request

{
  "code": "123456",
  "country_code": "+92",
  "country_iso": "PK",
  "phone": "3451234567",
  "device_id": "android-device-id"
}

Response

Claims the new verified login number. data.user includes account_type, has_verified_recovery_email, and the updated verified_phones array.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
errorunknown required

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes