Extend OTP Expiry

Extend an existing OTP expiry time

post/extend_otp

Request

  • Base URL: https://api.myotp.app
  • URL: https://api.myotp.app/extend_otp
  • Auth: none declared. Required headers: X-API-Key

Headers

X-API-Keystring required

API key for authentication

Request body

message_idstring required

Message ID of the OTP to be extended

durationinteger required

Duration to extend the OTP expiry, in seconds

Response

OTP expiry successfully extended

statusstring

Status of the request

messagestring

Message describing the status of the request

expires_atstring date-time

New expiry time of the OTP

Changes

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