[API guide] One-time password (OTP) API update¶
We updated the Hive server OTP API guide.
Key updates¶
- One-Time Password (OTP) API
- Added the
expiryTimestampparameter to the OTP send response body - Updated the
providerandexpiryvalues in the OTP send response example and added anexpiryTimestampexample - Added
VALIDATION_FAIL,INVALID_PHONE_NUMBER,NO_TOPIC,DUPLICATE_OTP_EXISTS, andSMS_LIMIT_EXCEEDEDdetails and HTTP 422, 409, and 429 response examples to the OTP send error response section - Removed the OTP email send API (
/otp/email) section and its request and response examples - Changed
toCountryNoandtoto required fields in the OTP verification request body and removed thereceiverfield - Removed the email-based request example for OTP verification
- Added the