Skip to content

[API guide] One-time password (OTP) API update

We updated the Hive server OTP API guide.

Key updates

  1. One-Time Password (OTP) API
    • Added the expiryTimestamp parameter to the OTP send response body
    • Updated the provider and expiry values in the OTP send response example and added an expiryTimestamp example
    • Added VALIDATION_FAIL, INVALID_PHONE_NUMBER, NO_TOPIC, DUPLICATE_OTP_EXISTS, and SMS_LIMIT_EXCEEDED details 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 toCountryNo and to to required fields in the OTP verification request body and removed the receiver field
    • Removed the email-based request example for OTP verification