Phone Verification (OTP)

Get OTP verification session

get/verify/{session_id}

Request

  • Base URL: https://api.envoisms.ma/v1
  • URL: https://api.envoisms.ma/v1/verify/{session_id}
  • Auth: HTTP bearer

Path parameters

session_idstring required

Response

OTP session

idstring
tostring
channel'sms' | 'whatsapp' | 'telegram' | 'voice' | 'rcs'
app_idstring nullable
status'pending' | 'verified' | 'failed' | 'expired'
expires_atstring date-time
verified_atstring date-time nullable
created_atstring date-time
attempts_usedinteger
attempts_remaininginteger
resend_available_in_secondsinteger

0 when a resend is accepted right now

can_resend_nowboolean

Changes

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