Rekamedika Docs
Email OTP

POST /email-otp/send-verification-otp

POST
/api/auth/email-otp/send-verification-otp

Send a verification OTP to an email

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string

Email address to send the OTP

type*string

Type of the OTP

Value in

  • "email-verification"
  • "sign-in"
  • "forget-password"
  • "change-email"

Response Body

application/json

curl -X POST "https://example.com/api/auth/email-otp/send-verification-otp" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "type": "email-verification"  }'
{  "success": true}

Is this page helpful?