Auth
회원가입 이메일 인증코드 발송
가입할 이메일로 6자리 인증코드를 발송한다. 로컬로 이미 가입된 이메일: 409. 탈퇴 후 30일 이내(휴면) 이메일: 발송하지 않고 409(AUTH-014), 로그인을 안내한다. 탈퇴 후 30일이 지난 이메일: 409(AUTH-013). 구글로만 가입된 이메일: 발송하지 않고 200 과 code: EMAIL_ALREADY_USED_WITH_GOOGLE. 그 외: 발송 후 200.
post/api/v1/auth/signup/email-code
Request
- Base URL: https://api.chaeso-zip.com
- URL: https://api.chaeso-zip.com/api/v1/auth/signup/email-code
- Auth: none declared
Request body
Example request
{
"email": "user@chaeso.zip"
}Response
발송 성공. 구글로만 가입된 이메일이면 발송 없이 안내 코드만 실린다
Example response
{
"success": true,
"error": {
"code": "C-001",
"message": "입력값이 올바르지 않습니다.",
"fieldErrors": [
{
"field": "name",
"reason": "이름은 필수입니다."
}
]
},
"code": "GOOGLE_ACCOUNT_LINKED"
}Changes
No recorded changes to this operation across all 1 revision of this API.