Skip to content

[POST] 이메일 인증 코드 전송

MoonAyoung edited this page Jun 5, 2021 · 4 revisions
메소드 경로 설명
POST /api/v2/email/send 비밀번호 재설정을 위한 이메일 인증 코드를 전송합니다.
인증 코드는 5분 유효합니다.

Request Header

{
    "Content-Type": "application/json"
}

Request Body

{
  "email": "[email protected]"
}

Response

< Success >

{
  "status": 200,
  "message": "이메일 전송 성공입니다.",
  "data": null
}

< Fail >

  • 존재하지 않는 회원인 경우

{
  "message": "User is not Exist",
  "status": 400,
  "errors": [],
  "code": "M003"
}
  • 이메일 전송 실패
{
  "message": "Email Send Error",
  "status": 500,
  "errors": [],
  "code": "P001"
}
  • 서버 에러
{
  "message": "Server Error",
  "status": 500,
  "errors": [],
  "code": "C004"
}