Skip to main content
POST
/
api
/
authentication
/
otp_verification
curl -X POST 'https://crypto-api.yativo.com/api/authentication/otp_verification' \
  -H 'Content-Type: application/json' \
  -d '{
    "otp": "123456",
    "email": "user@example.com"
  }'
{
  "status": "success",
  "message": "OTP verified successfully",
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  }
}
otp
string
required
The one-time password sent to the user’s email or authenticator app.
email
string
The user’s email address. Required if not already established in the session.
curl -X POST 'https://crypto-api.yativo.com/api/authentication/otp_verification' \
  -H 'Content-Type: application/json' \
  -d '{
    "otp": "123456",
    "email": "user@example.com"
  }'
{
  "status": "success",
  "message": "OTP verified successfully",
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  }
}