POST

/api/auth/send-code

Send verification code

Sends an email verification code for registration or password reset.

curl -s -X POST "$BASE/api/auth/send-code" \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com", "type": "register"}'

Request Body

FieldTypeReqDefaultDescription
emailstringY
typestring (register | reset)NPurpose of the verification code

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test